mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-12-02 01:17:41 +00:00
chore: add more debug lines
This commit is contained in:
@@ -67,7 +67,6 @@ def api_welcome_get_totp():
|
||||
if "totp_verified" not in config_account or not config_account["totp_verified"]:
|
||||
totp_key = pyotp.random_base32()
|
||||
|
||||
log.debug(totp_key)
|
||||
ok = config.update('ACCOUNT', 'totp_key', totp_key)
|
||||
if not ok:
|
||||
log.error("failed to update the key in the configuration file")
|
||||
|
||||
Reference in New Issue
Block a user