diff --git a/application/config/config-defaults.php b/application/config/config-defaults.php index fc0a02b16ca..ecf29a87e32 100644 --- a/application/config/config-defaults.php +++ b/application/config/config-defaults.php @@ -200,7 +200,7 @@ // defined above by its return value // // You can use any external DB in order to fill the profile for the user_name passed as the first parameter -// A dummy example for the 'hook_get_autouserprofile' function is given below: +// A dummy example for the 'hook_get_auth_webserver_profile' function is given below: // //function hook_get_auth_webserver_profile($user_name) //{ diff --git a/application/core/UserIdentity.php b/application/core/UserIdentity.php index 4c75cef92b5..57645e24777 100644 --- a/application/core/UserIdentity.php +++ b/application/core/UserIdentity.php @@ -89,7 +89,7 @@ public function authenticate($sOneTimePassword='') { // If defined this function returns an array // describing the defaukt profile for this user - $aUserProfile = hook_get_autouserprofile($sUser); + $aUserProfile = hook_get_auth_webserver_profile($sUser); } elseif (Yii::app()->getConfig("auth_webserver_autocreate_user")) {