diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-06-04 19:34:25 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-06-04 19:34:29 +0100 |
commit | e424dc57e75bd2f18f86dc469e210f1f13a4a931 (patch) | |
tree | 5446a87e78dba824420ec75d9150fce4a073fb6c | |
parent | 7d60e2f6710ce9670e83ea26c3caf006bda11290 (diff) | |
download | cheatdb-e424dc57e75bd2f18f86dc469e210f1f13a4a931.tar.xz |
Set remember me to true in loginUser
-rw-r--r-- | app/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/utils.py b/app/utils.py index 55311fa..b2faa7a 100644 --- a/app/utils.py +++ b/app/utils.py @@ -99,7 +99,7 @@ def loginUser(user): if user_manager.enable_username: user_mixin = user_manager.find_user_by_username(user.username) - return _do_login_user(user_mixin, False) + return _do_login_user(user_mixin, True) def rank_required(rank): def decorator(f): |