diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-07 21:09:48 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-07 21:09:48 -0500 |
commit | 57cadb042dc133f1a3a671f4ff823589760574bf (patch) | |
tree | 90995f6a814fa8e3a2f9338d83e26427111d7ff5 /src/usr/local/www | |
parent | 3f91d34e5e20d9b110e50d9f9a82a14f6ebc5ec3 (diff) | |
download | pfsense-57cadb042dc133f1a3a671f4ff823589760574bf.zip pfsense-57cadb042dc133f1a3a671f4ff823589760574bf.tar.gz |
Fixed #5381
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/wizards/setup_wizard.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/wizards/setup_wizard.xml b/src/usr/local/www/wizards/setup_wizard.xml index 20b57e1..d10d69c 100644 --- a/src/usr/local/www/wizards/setup_wizard.xml +++ b/src/usr/local/www/wizards/setup_wizard.xml @@ -703,9 +703,10 @@ </field> </fields> <stepsubmitphpaction> + <![CDATA[ if($_POST['adminpassword'] != "") { if($_POST['adminpassword'] == $_POST['adminpasswordagain']) { - $admin_user =& getUserEntryByUID(0); + $admin_user =& getUserEntryByUID(0); local_user_set_password($admin_user, $_POST['adminpassword']); local_user_set($admin_user); write_config(); @@ -714,6 +715,7 @@ die; } } + ]]> </stepsubmitphpaction> </step> <step> |