Show More
@@ -779,7 +779,7 b' class User(Base, BaseModel):' | |||
|
779 | 779 | def get_first_super_admin(cls): |
|
780 | 780 | user = User.query().filter(User.admin == true()).first() |
|
781 | 781 | if user is None: |
|
782 | raise Exception('Missing administrative account!') | |
|
782 | raise Exception('FATAL: Missing administrative account!') | |
|
783 | 783 | return user |
|
784 | 784 | |
|
785 | 785 | @classmethod |
@@ -794,7 +794,7 b' class User(Base, BaseModel):' | |||
|
794 | 794 | def get_default_user(cls, cache=False): |
|
795 | 795 | user = User.get_by_username(User.DEFAULT_USER, cache=cache) |
|
796 | 796 | if user is None: |
|
797 | raise Exception('Missing default account!') | |
|
797 | raise Exception('FATAL: Missing default account!') | |
|
798 | 798 | return user |
|
799 | 799 | |
|
800 | 800 | def _get_default_perms(self, user, suffix=''): |
General Comments 0
You need to be logged in to leave comments.
Login now