Skip to content

Commit

Permalink
Fix for recovery options
Browse files Browse the repository at this point in the history
  • Loading branch information
Upgreydd committed Oct 18, 2023
1 parent 95d8826 commit 2947590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ def disable_2fa(user: User):
description="Removes user recovery data - phone and alt. mail")
def remove_recovery(user: User):
cmds = [
['user', user.email, 'recoveryemail', ''],
['user', user.email, 'recoveryphone', ''],
['update', 'user', user.email, 'recoveryemail', ''],
['update', 'user', user.email, 'recoveryphone', ''],
]
return command_executor(cmds)

Expand Down

0 comments on commit 2947590

Please sign in to comment.