mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
remove remember_me cookie and related code
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user