mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 22:36:12 +01:00
feature: Provide Text Authenticator Key during 2FA in addition to QR code
This commit is contained in:
@@ -310,7 +310,8 @@ def fetchUserDetails(request):
|
||||
"websitesLimit": websitesLimit,
|
||||
"securityLevel": SecurityLevel(user.securityLevel).name,
|
||||
"otpauth": otpauth,
|
||||
'twofa': user.twoFA
|
||||
'twofa': user.twoFA,
|
||||
'secretKey': user.secretKey
|
||||
}
|
||||
|
||||
data_ret = {'fetchStatus': 1, 'error_message': 'None', "userDetails": userDetails}
|
||||
|
||||
Reference in New Issue
Block a user