setting, session and profile

This commit is contained in:
debu-2 2026-10-07 03:19:23 +05:30
parent 4a563f4f34
commit 7d3b6d4e31
3 changed files with 5 additions and 15 deletions

View file

@ -53,16 +53,6 @@ def mfa_phone_parts(account: Account) -> tuple[str, str]:
) from error
def assert_mfa_phone(account: Account) -> None:
try:
parse_india_phone(account.phone_number)
except ValueError as error:
raise HTTPException(
status_code=status.HTTP_400_BAD_REQUEST,
detail=str(error),
) from error
async def create_login_challenge(
database,
account: Account,