Изменения подтверждения почты
This commit is contained in:
parent
659e62b15c
commit
8d2e1c7a64
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ async def resend_email_verification(user: SUser = Depends(get_current_user)):
|
|||
)
|
||||
async def email_verification(user_code: SUserCode, user: SUser = Depends(get_current_user),uow=Depends(UnitOfWork)):
|
||||
if len(user_code.user_code) == 6:
|
||||
confirmation_code = user_code
|
||||
confirmation_code = user_code.user_code
|
||||
else:
|
||||
confirmation_code = decode_confirmation_token(user_code.user_code)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue