mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Fix no password prompt. Fixes #2408
This commit is contained in:
parent
2803d88894
commit
36317011fa
@ -48,7 +48,7 @@ if [ -z "$(management/cli.py user)" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Create the user's mail account. This will ask for a password if none was given above.
|
# 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.
|
# Make it an admin.
|
||||||
hide_output management/cli.py user make-admin "$EMAIL_ADDR"
|
hide_output management/cli.py user make-admin "$EMAIL_ADDR"
|
||||||
|
Loading…
Reference in New Issue
Block a user