1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-22 07:17:05 +00:00

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

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"