mirror of https://github.com/JohnHammond/CTFd.git
Merge branch 'master' into admin-theme-successful-email-fix
commit
77afae2a4a
|
@ -202,7 +202,8 @@ def init_request_processors(app):
|
|||
except (InvalidRequestError, IntegrityError):
|
||||
db.session.rollback()
|
||||
logout_user()
|
||||
clear_user_recent_ips(user_id=session["id"])
|
||||
else:
|
||||
clear_user_recent_ips(user_id=session["id"])
|
||||
|
||||
@app.before_request
|
||||
def banned():
|
||||
|
|
Loading…
Reference in New Issue