Skip to content

Commit

Permalink
Merge pull request #434 from dzadikdev/fix/User-Create-Error
Browse files Browse the repository at this point in the history
Fix User Create Bug
  • Loading branch information
dzadikdev committed Mar 17, 2021
2 parents 1bae9bb + ce8f34c commit 91fedc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GlobalBehaviorandComponents/manageusers.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def gbac_user_create():
else:
msg = "Error During Create - " + str(user_create_response["errorCauses"][0]["errorSummary"])

if parent_id is not None:
if not parent_id == "None":
logger.debug("ParentID Found")
okta_admin.create_linked_users(user_create_response['id'], parent_id, linked_name)
return redirect(url_for("gbac_lo_bp.gbac_linkedobjects", _external="True", _scheme=session[SESSION_INSTANCE_SETTINGS_KEY]["app_scheme"], message=msg))
Expand Down

0 comments on commit 91fedc9

Please sign in to comment.