From 6593d372e0aab43846d608a50cfcbcb8ac061076 Mon Sep 17 00:00:00 2001 From: viveksantayana Date: Wed, 1 Dec 2021 00:45:20 +0000 Subject: [PATCH] Corrected doubled import --- ref-test/admin/auth.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ref-test/admin/auth.py b/ref-test/admin/auth.py index 7950c99..2e38c41 100644 --- a/ref-test/admin/auth.py +++ b/ref-test/admin/auth.py @@ -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'))