diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-02-15 16:43:16 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-02-15 16:43:16 +0100 |
commit | df466c7aec2704406e008f31924afa8b80c259ab (patch) | |
tree | f2290dfd78d31371b79aa895f2eea2a2e9ccef1b | |
parent | d6751ba58784947f92622982b073a2358bec546c (diff) | |
download | rpg-df466c7aec2704406e008f31924afa8b80c259ab.tar.gz rpg-df466c7aec2704406e008f31924afa8b80c259ab.tar.bz2 |
Use auth backend to verify password on profile update FS#1328
darcs-hash:20080215154316-7ad00-d052e2eed8e47e62ff639cd66d7debb4bfd293fc.gz
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 5c60f8a35..10f33bcf3 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -652,7 +652,7 @@ function updateprofile() { } if ($conf['profileconfirm']) { - if (!auth_verifyPassword($_POST['oldpass'],$INFO['userinfo']['pass'])) { + if (!$auth->checkPass($_SERVER['REMOTE_USER'], $_POST['oldpass'])) { msg($lang['badlogin'],-1); return false; } |