1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-04 15:54:48 +01:00

Add totpMruTokenTime to upgrade

This commit is contained in:
downtownallday
2020-09-30 11:50:49 -04:00
parent 100acb119b
commit f6b04b314f
3 changed files with 6 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ def get_mfa_user(email, env, conn=None):
user = find_mail_user(env, email, ['objectClass','totpSecret','totpMruToken','totpMruTokenTime','totpLabel'], conn)
if not user:
raise ValueError("User does not exist.")
strip_order_prefix(user, ['totpSecret','totpMruToken','totpLabel'])
strip_order_prefix(user, ['totpSecret','totpMruToken','totpMruTokenTime','totpLabel'])
return user