summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-02 01:45:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-02 01:45:05 +0000
commit8622a20aeece62817632f1afd9101fd4bf30c9c9 (patch)
treec9d378e7e84205ffc1eca8eabb64c0a377fb19a3 /usr
parent6fcbe2153c465f349f34bdae3e9a5586d7aff61b (diff)
downloadpfsense-8622a20aeece62817632f1afd9101fd4bf30c9c9.zip
pfsense-8622a20aeece62817632f1afd9101fd4bf30c9c9.tar.gz
Sync username / password database after priv change
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_usermanager_edit.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/local/www/system_usermanager_edit.php b/usr/local/www/system_usermanager_edit.php
index b27ca41..1560a54 100644
--- a/usr/local/www/system_usermanager_edit.php
+++ b/usr/local/www/system_usermanager_edit.php
@@ -139,8 +139,12 @@ if ($_POST) {
assignGID($groupname);
}
- write_config();
+ write_config();
+ /* sync usernames and password db */
+ $retval = system_password_configure();
+ sync_webgui_passwords();
+
$retval = 0;
config_lock();
config_unlock();
OpenPOWER on IntegriCloud