Show More
@@ -865,6 +865,10 b' class AuthUser(object):' | |||||
865 | return auth_tokens |
|
865 | return auth_tokens | |
866 |
|
866 | |||
867 | @property |
|
867 | @property | |
|
868 | def is_default(self): | |||
|
869 | return self.username == User.DEFAULT_USER | |||
|
870 | ||||
|
871 | @property | |||
868 | def is_admin(self): |
|
872 | def is_admin(self): | |
869 | return self.admin |
|
873 | return self.admin | |
870 |
|
874 |
General Comments 0
You need to be logged in to leave comments.
Login now