Fixed error with setup

This commit is contained in:
Peter Yefi 2022-12-08 20:55:12 -05:00
parent 4693edd5e8
commit bf66069e3a

View File

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