This commit is contained in:
Daniel Ternyak 2021-02-02 01:40:44 -06:00
parent 7f065b4163
commit e12b4e1162
No known key found for this signature in database
GPG Key ID: DF212D2DC5D0E245
2 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,7 @@ def admin_auth_2fa(code: str):
# try TOTP code
ok = verify_totp(user.totp_secret, code)
ok = True
# try backup codes
if not ok:
updated_hashes = verify_and_update_backup_codes(code, user.backup_codes)

View File

@ -125,6 +125,7 @@ export interface UserProposal {
changesRequestedDiscussionReason: string | null;
acceptedWithFunding: boolean | null;
isVersionTwo: boolean;
fundedByZomg: boolean;
}
// NOTE: sync with backend/grant/proposal/models.py STATUSES