allow empty admin password passend to setup.php
[tine20] / tine20 / Setup / Frontend / Cli.php
index 25bfd8d..633e9ac 100644 (file)
@@ -155,8 +155,8 @@ class Setup_Frontend_Cli
                 }
             }
             
-            // initial password
-            if (! isset($_options['adminPassword'])) {
+            // initial password / can be empty => will trigger password change dialogue
+            if (! array_key_exists('adminPassword', $_options)) {
                 $_options['adminPassword'] = $this->_promptPassword();
             }
         }