forked from s_ranjbar/city_retrofit
Fixed error with setup
This commit is contained in:
parent
4693edd5e8
commit
bf66069e3a
|
@ -23,7 +23,7 @@ class DBSetup:
|
||||||
self._create_admin_user(self._user_repo)
|
self._create_admin_user(self._user_repo)
|
||||||
|
|
||||||
def _create_admin_user(self, user_repo):
|
def _create_admin_user(self, user_repo):
|
||||||
email = 'admin@hub.com'git
|
email = 'admin@hub.com'
|
||||||
password = 'HubAdmin#!98'
|
password = 'HubAdmin#!98'
|
||||||
print('Creating default admin user...')
|
print('Creating default admin user...')
|
||||||
user_repo.insert('Administrator', email, password, UserRoles.Admin)
|
user_repo.insert('Administrator', email, password, UserRoles.Admin)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user