Update.
This commit is contained in:
@@ -112,7 +112,7 @@ async def setup_two_factor_authentication(current_user: User = Depends(get_curre
|
||||
current_user.two_factor_secret = secret
|
||||
await current_user.save()
|
||||
|
||||
totp_uri = generate_totp_uri(secret, current_user.email, "RBox")
|
||||
totp_uri = generate_totp_uri(secret, current_user.email, "MyWebdav")
|
||||
qr_code_base64 = generate_qr_code_base64(totp_uri)
|
||||
|
||||
recovery_codes = generate_recovery_codes()
|
||||
|
||||
Reference in New Issue
Block a user