remove remember_me cookie and related code

This commit is contained in:
Leo Hemsted
2017-02-23 16:43:09 +00:00
parent b460f5971e
commit 9fda5d1847
11 changed files with 6 additions and 123 deletions

View File

@@ -1,4 +1,4 @@
from flask_login import UserMixin, AnonymousUserMixin, login_fresh
from flask_login import UserMixin, AnonymousUserMixin
from flask import session
@@ -30,7 +30,6 @@ class User(UserMixin):
@property
def is_authenticated(self):
return (
login_fresh() and
not self.logged_in_elsewhere() and
super(User, self).is_authenticated
)