-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Draft]Edit user page to be possible to add 2FA #130
Comments
@FelipePSoares Forgive me, I'm trying to work out how you create a database migration in your project. Are you able to let me know? |
@Dan-613 sorry I didn't plan this issue yet. I just create to don't forget. But answering your question. To create a migration you need to build the project in release and then run the command appoint to persistence project then because exist 2 contexts you need to select the correct context.
|
But I was thinking now, you don't need to change anything in the background to use 2FA. Because I'm using the C# default implementation and all the endpoints to use 2FA is ready created. |
Using google authenticator compatible 2FA, I was planning on storing the 2fa secret key per-user so that it is defined on the fly and therefore doesn't need to be configured and stored within the code or during provisioning. So I was going to add the field string User.TwoFactorSecret |
Ah. I didn't realise the field already existed in ef. |
No description provided.
The text was updated successfully, but these errors were encountered: