Fix no password prompt. Fixes #2408 (#2409)

This commit is contained in:
Teal Dulcet 2024-07-21 05:00:20 -07:00 committed by GitHub
parent cd959bc522
commit bc14e80b12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ if [ -z "$(management/cli.py user)" ]; then
fi
# Create the user's mail account. This will ask for a password if none was given above.
management/cli.py user add "$EMAIL_ADDR" "${EMAIL_PW:-}"
management/cli.py user add "$EMAIL_ADDR" ${EMAIL_PW:+"$EMAIL_PW"}
# Make it an admin.
hide_output management/cli.py user make-admin "$EMAIL_ADDR"