Skip to content

Commit

Permalink
Fixed issue #7183: Authentication hook "hook_get_auth_webserver_profi…
Browse files Browse the repository at this point in the history
…le" not working properly
  • Loading branch information
c-schmitz committed Jan 13, 2013
1 parent 50bba02 commit ef8b901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/config/config-defaults.php
Expand Up @@ -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)
//{
Expand Down
2 changes: 1 addition & 1 deletion application/core/UserIdentity.php
Expand Up @@ -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"))
{
Expand Down

0 comments on commit ef8b901

Please sign in to comment.