Merge pull request #747 from ymage/fix_logout_746

Fix session clearing
This commit is contained in:
Khanh Ngo 2020-06-08 10:24:43 +07:00 committed by GitHub
commit 5eb2edee2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -378,8 +378,8 @@ def clear_session():
session.pop('google_token', None)
session.pop('authentication_type', None)
session.pop('remote_user', None)
logout_user()
session.clear()
logout_user()
def signin_history(username, authenticator, success):