Do not repeat admin password question if already answered

pull/646/head
Emmanuel Papin 2014-12-20 20:12:33 +01:00
parent 5457d5c5e5
commit 6cdb046b34
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ]; then
# password update in ZoneMinder database
db_set zoneminder/admin_password ""
fi
# Set the seen flag to not ask this question again if no password is
# provided
db_fset zoneminder/admin_password seen true
fi