Skip to content
Permalink
Browse files
fix: Correctly set user password
  • Loading branch information
subotic committed Oct 11, 2019
1 parent 5f41ac5 commit 3583ea2cafc45adecc1f422e21b3e4d145879e34
Showing with 2 additions and 1 deletion.
  1. +2 −1 knora/create_ontology.py
@@ -108,6 +108,7 @@ def program(args):

if args.verbose is not None:
print("Adding users...")

# now we add the users if existing
users = ontology["project"].get('users')
if users is not None:
@@ -117,7 +118,7 @@ def program(args):
email=user["email"],
given_name=user["givenName"],
family_name=user["familyName"],
password="password",
password=["password"],
lang=user["lang"] if user.get("lang") is not None else "en")
except KnoraError as err:
print("Creating user failed: " + err.message)

0 comments on commit 3583ea2

Please sign in to comment.