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

Set default user password length to 8 in non-interactive setups (#1123)

To comply with #1098 and avoid failed setups while testing with Vagrant
This commit is contained in:
yeah 2017-03-27 00:23:34 +07:00 committed by Joshua Tauberer
parent 653cb7ce10
commit c7badb80d1

View File

@ -35,7 +35,7 @@ if [ -z "`tools/mail.py user`" ]; then
else
# Use me@PRIMARY_HOSTNAME
EMAIL_ADDR=me@$PRIMARY_HOSTNAME
EMAIL_PW=1234
EMAIL_PW=12345678
echo
echo "Creating a new administrative mail account for $EMAIL_ADDR with password $EMAIL_PW."
echo
@ -54,4 +54,4 @@ if [ -z "`tools/mail.py user`" ]; then
# Create an alias to which we'll direct all automatically-created administrative aliases.
tools/mail.py alias add administrator@$PRIMARY_HOSTNAME $EMAIL_ADDR > /dev/null
fi
fi