Refresh base image and python dependencies
This commit is contained in:
parent
daab1b3964
commit
01a92a66ba
7 changed files with 81 additions and 67 deletions
2
app.py
2
app.py
|
@ -215,9 +215,11 @@ class LoginWrappedDBUser(UserMixin):
|
|||
self._db_user = model.user.get_user_by_uuid(self._uuid)
|
||||
return self._db_user
|
||||
|
||||
@property
|
||||
def is_authenticated(self):
|
||||
return self.db_user() is not None
|
||||
|
||||
@property
|
||||
def is_active(self):
|
||||
return self.db_user().verified
|
||||
|
||||
|
|
Reference in a new issue