diff --git a/backend/grant/utils/admin.py b/backend/grant/utils/admin.py index 5ece3053..2c1cb175 100644 --- a/backend/grant/utils/admin.py +++ b/backend/grant/utils/admin.py @@ -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) diff --git a/frontend/types/proposal.ts b/frontend/types/proposal.ts index 829c9054..737047c2 100644 --- a/frontend/types/proposal.ts +++ b/frontend/types/proposal.ts @@ -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