chore: add more debug lines

This commit is contained in:
DaanSelen
2026-03-16 16:55:56 +01:00
parent d8d829ab71
commit b62b4cbd45
6 changed files with 6 additions and 3 deletions
-1
View File
@@ -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")