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:
josephschorr 2017-07-24 15:59:13 -04:00 committed by GitHub
commit 074b4e4981
21 changed files with 217 additions and 175 deletions

View file

@ -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)