remove confirmation check
This commit is contained in:
4
auth.py
4
auth.py
@@ -145,8 +145,8 @@ def confirm_email(token):
|
|||||||
email = confirm_token(token)
|
email = confirm_token(token)
|
||||||
except:
|
except:
|
||||||
outcome = 'The confirmation link is invalid or has expired.'
|
outcome = 'The confirmation link is invalid or has expired.'
|
||||||
if g.user["confirmed"]:
|
#if g.user["confirmed"]: # TODO: Not working like this. User must be logged in for this to work but admin is doing the confirmation. Muss sql query nach email sein.
|
||||||
outcome = 'Account already confirmed.'
|
# outcome = 'Account already confirmed.'
|
||||||
|
|
||||||
else:
|
else:
|
||||||
db = get_db()
|
db = get_db()
|
||||||
|
|||||||
Reference in New Issue
Block a user