Corrected doubled import
This commit is contained in:
parent
ad16311941
commit
f0c4f237de
@ -112,7 +112,6 @@ def reset():
|
||||
@admin_account_required
|
||||
@disable_if_logged_in
|
||||
def reset_gateway(token1,token2):
|
||||
from main import db
|
||||
user = decrypt_find_one( db.users, {'reset_token' : token1} )
|
||||
if not user:
|
||||
return redirect(url_for('admin_auth.login'))
|
||||
|
Loading…
Reference in New Issue
Block a user