Einloggen funktioniert
This commit is contained in:
@@ -48,7 +48,7 @@ class ConfigLoader(QObject):
|
||||
@Slot(dict, result= bool)
|
||||
def addAdminUser(self, user_config):
|
||||
admin = UserManager(user_config["user"], PyqcrmFlags.ADMIN).createUser()
|
||||
print (admin)
|
||||
|
||||
if not admin:
|
||||
self.usernameNotAvailable.emit()
|
||||
return admin
|
||||
@@ -112,7 +112,6 @@ class ConfigLoader(QObject):
|
||||
@Slot(str)
|
||||
def setEncyrptKey(self, key):
|
||||
self.__config['pyqcrm']['ENCRYPTION_KEY'] = key
|
||||
print(self.__config)
|
||||
self.__saveConfig()
|
||||
|
||||
def __saveConfig(self):
|
||||
|
||||
Reference in New Issue
Block a user