fix: user creation issue with Palm

This commit is contained in:
Jayram Nai 2023-07-03 20:11:12 +05:30 committed by Régis Behmo
parent c36734ffda
commit e4ca341e53
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
- [Bugfix] Fixed User creation command issue with Palm release. (by @jramnai)

View File

@ -106,7 +106,7 @@ def bootstrap_user(args):
args.firstname,
args.lastname,
args.email,
"Gamma",
security_manager.find_role("Gamma"),
)
if user is None or user is False:
# This may happen for instance when the email address is already associated