remove confirmation check

This commit is contained in:
pstruebi
2022-06-17 11:39:12 +02:00
parent 8dafb470b7
commit 9e0b0892e8

View File

@@ -145,8 +145,8 @@ def confirm_email(token):
email = confirm_token(token)
except:
outcome = 'The confirmation link is invalid or has expired.'
if g.user["confirmed"]:
outcome = 'Account already 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.'
else:
db = get_db()