mirror of
https://git.wownero.com/lza_menace/wowstash.git
synced 2024-08-08 00:47:51 +00:00
exit cmd if user does not exist
This commit is contained in:
parent
a009450caa
commit
cf20b46d7d
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ def reset_password(user_email, duration):
|
|||
user = User.query.filter(User.email==user_email).first()
|
||||
if not user:
|
||||
click.echo('[!] Email address does not exist!')
|
||||
return
|
||||
|
||||
pwr = PasswordReset(
|
||||
user=user.id,
|
||||
|
|
Loading…
Reference in a new issue