Skip to content

Commit bc14e80

Browse files
authored
Fix no password prompt. Fixes #2408 (#2409)
1 parent cd959bc commit bc14e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/firstuser.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [ -z "$(management/cli.py user)" ]; then
4848
fi
4949

5050
# Create the user's mail account. This will ask for a password if none was given above.
51-
management/cli.py user add "$EMAIL_ADDR" "${EMAIL_PW:-}"
51+
management/cli.py user add "$EMAIL_ADDR" ${EMAIL_PW:+"$EMAIL_PW"}
5252

5353
# Make it an admin.
5454
hide_output management/cli.py user make-admin "$EMAIL_ADDR"

0 commit comments

Comments
 (0)