-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnote
More file actions
22 lines (17 loc) · 675 Bytes
/
Copy pathnote
File metadata and controls
22 lines (17 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dotnet tool install -g dotnet-aspnet-codegenerator
Microsoft.VisualStudio.Web.CodeGeneration.Design
Microsoft.EntityFrameworkCore.SqlServer
dotnet aspnet-codegenerator identity -dc Students.Data.ApplicationDbContext --files "Account.Manage.EnableAuthenticator;Account.LoginWith2fa”
https://davidshimjs.github.io/qrcodejs/
<script>
$(()=>{
var qrcode = new QRCode(document.getElementById("qrCode"), {
text: "@Html.Raw(Model.AuthenticatorUri)",
width: 128,
height: 128,
colorDark : "#000000",
colorLight : "#ffffff",
correctLevel : QRCode.CorrectLevel.H
});
})
</script>