diff options
author | 2018-01-30 09:53:01 -0500 | |
---|---|---|
committer | 2018-01-30 09:53:01 -0500 | |
commit | 0184aecdf36ab398ef3696e5211aff53b7239772 (patch) | |
tree | ae27c917659a9451c24031f47222b0d4b5dc5cab /php/lib/auth.php | |
parent | More database typo fixes (diff) | |
download | bouncer-0184aecdf36ab398ef3696e5211aff53b7239772.tar.gz bouncer-0184aecdf36ab398ef3696e5211aff53b7239772.tar.bz2 bouncer-0184aecdf36ab398ef3696e5211aff53b7239772.zip |
Fix query errors and missing indexes; add error handling for user facing
Diffstat (limited to 'php/lib/auth.php')
-rw-r--r-- | php/lib/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/lib/auth.php b/php/lib/auth.php index eb6319c..68bf91a 100644 --- a/php/lib/auth.php +++ b/php/lib/auth.php @@ -62,7 +62,7 @@ public static function query($username,$password) private static function password_upgrade($userrow, $username, $password) { require_once(LIB.'/mirror.php'); //Upgrade password security - Mirror::update_user($userrow['user_id'],$username,$password,$password,$userrow['firstname'],$userrow['lastname'],$userrow['email']); + Mirror::update_user($userrow['user_id'],$username,$password,$password,$userrow['user_firstname'],$userrow['user_lastname'],$userrow['user_email']); } /** |