Merge pull request #2810 from coreos-inc/joseph.schorr/QUAY-747/common-data-interface
Convert endpoints/common into using a data interface
This commit is contained in:
commit
074b4e4981
21 changed files with 217 additions and 175 deletions
|
@ -882,7 +882,7 @@ class LoginWrappedDBUser(UserMixin):
|
|||
|
||||
@property
|
||||
def is_active(self):
|
||||
return self.db_user().verified
|
||||
return self.db_user() and self.db_user().verified
|
||||
|
||||
def get_id(self):
|
||||
return unicode(self._uuid)
|
||||
|
|
Reference in a new issue