summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-04 20:52:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-04 20:52:24 +0000
commit25a4bcd25d11185b2b9b7d1fb82297134d4e9b7e (patch)
tree639db5a506f3712a88a432e42cdef24be07c72a2
parentb16a29f0a21918eacb5cee201d959dab3c7fd48d (diff)
downloadpfsense-25a4bcd25d11185b2b9b7d1fb82297134d4e9b7e.zip
pfsense-25a4bcd25d11185b2b9b7d1fb82297134d4e9b7e.tar.gz
Clarify Admin password is for WebGUI
-rw-r--r--usr/local/www/wizards/setup_wizard.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 2650a9a..353536e 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -2425,15 +2425,15 @@
</step>
<step>
<id>6</id>
- <title>Set ADMIN Password</title>
+ <title>Set Admin WebGUI Password</title>
<description>On this screen we will set the Admin password.</description>
<fields>
<field>
- <name>ADMIN Password</name>
+ <name>Admin Password</name>
<type>password</type>
</field>
<field>
- <name>ADMIN Password AGAIN</name>
+ <name>Admin Password AGAIN</name>
<type>password</type>
<stepsubmitphpaction>
if($_POST['adminpassword'] != "") {
@@ -2443,6 +2443,8 @@
$crypted_pw = crypt($_POST['adminpassword'],$salt);
fwrite($fd, $crypted_pw);
pclose($fd);
+ $config['system']['password'] = crypt($_POST['adminpassword']);
+ write_config();
} else {
print_info_box_np("Passwords do not match!");
die;
OpenPOWER on IntegriCloud