From d9012258134a930f92da9361c85958c591d0785e Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 11 Sep 2009 19:19:48 +1200 Subject: [PATCH] Fix updating using AuthExternalAWL. --- inc/auth-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/auth-functions.php b/inc/auth-functions.php index 47e18eac..a66d56d8 100644 --- a/inc/auth-functions.php +++ b/inc/auth-functions.php @@ -170,7 +170,7 @@ EOERRMSG; if ( $qry->Exec('Login',__LINE,__FILE__) && $qry->rows == 1 ) { $usr = $qry->Fetch(); if ( session_validate_password( $password, $usr->password ) ) { - UpdateUserFromExternal(); + UpdateUserFromExternal($usr); return $usr; } }