setting, session and profile
This commit is contained in:
parent
4a563f4f34
commit
7d3b6d4e31
3 changed files with 5 additions and 15 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue