mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
Fix email confirmation log line (#913)
This commit is contained in:
committed by
Kevin Chung
parent
4f7c4687d7
commit
1eb687a065
@@ -48,7 +48,7 @@ def confirm(data=None):
|
||||
|
||||
user = Users.query.filter_by(email=user_email).first_or_404()
|
||||
user.verified = True
|
||||
log('registrations', format="[{date}] {ip} - successful password reset for {name}")
|
||||
log('registrations', format="[{date}] {ip} - successful confirmation for {name}", name=user.name)
|
||||
db.session.commit()
|
||||
db.session.close()
|
||||
if current_user.authed():
|
||||
|
||||
Reference in New Issue
Block a user