Skip to content
Snippets Groups Projects
Commit d3ce7526 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

more logging

parent 65f670ad
No related branches found
No related tags found
No related merge requests found
Pipeline #131376 passed
...@@ -65,7 +65,9 @@ class UnityIntegrationView(AppBuilderBaseView): ...@@ -65,7 +65,9 @@ class UnityIntegrationView(AppBuilderBaseView):
# check if user already exists, if not create it (with long random password) # check if user already exists, if not create it (with long random password)
sec_manager = app.appbuilder.sm sec_manager = app.appbuilder.sm
fab_user = sec_manager.find_user(username=persistent_identifier) fab_user = sec_manager.find_user(username=persistent_identifier)
log.debug("Searching for user gave '" + (str(fab_user)) + "'")
if fab_user is None: # TODO check if None is the rioght thing to compare to if fab_user is None: # TODO check if None is the rioght thing to compare to
log.debug("Trying to create non-existing user")
characters = string.ascii_letters + string.digits + string.punctuation characters = string.ascii_letters + string.digits + string.punctuation
fab_user = sec_manager.add_user( fab_user = sec_manager.add_user(
username=persistent_identifier, username=persistent_identifier,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment