@ -20,8 +20,8 @@ PASSWORD=$(options-get password 2>/dev/null) || {
if [ -e "$CONFIG" ]; then
PASSWORD=$(grep ^requirepass "$CONFIG" | sed -r 's/^requirepass\s+(.+)$/\1/g')
fi
if [ -z "$ADMIN_PASSWORD" ]; then
info "Generating odoo admin password"
if [ -z "$PASSWORD" ]; then
info "Generating redis admin password"
PASSWORD=$(gen_password 64)
}