mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-22 07:17:05 +00:00
parent
cd959bc522
commit
bc14e80b12
@ -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