bug fix for user lookup when using CAS affiliations.

Project: http://git-wip-us.apache.org/repos/asf/vcl/repo
Commit: http://git-wip-us.apache.org/repos/asf/vcl/commit/db85a013
Tree: http://git-wip-us.apache.org/repos/asf/vcl/tree/db85a013
Diff: http://git-wip-us.apache.org/repos/asf/vcl/diff/db85a013

Branch: refs/heads/VCL-1087_VCL_CAS_SSO
Commit: db85a013c95d10cb36a2d6945041ed5b46a98425
Parents: 7df0ca5
Author: Junaid Ali <alisy...@iit.edu>
Authored: Wed Sep 19 16:10:46 2018 -0500
Committer: Junaid Ali <alisy...@iit.edu>
Committed: Wed Sep 19 16:10:46 2018 -0500

----------------------------------------------------------------------
 web/.ht-inc/conf-default.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/vcl/blob/db85a013/web/.ht-inc/conf-default.php
----------------------------------------------------------------------
diff --git a/web/.ht-inc/conf-default.php b/web/.ht-inc/conf-default.php
index b6ffda6..d3e4e18 100644
--- a/web/.ht-inc/conf-default.php
+++ b/web/.ht-inc/conf-default.php
@@ -186,7 +186,7 @@ foreach($authMechs as $key => $item) {
                $updateUserFunc[$item['affiliationid']] = 'updateLDAPUser';
                $updateUserFuncArgs[$item['affiliationid']] = $key;
        }
-       elseif($item['type'] == 'local') {
+       elseif($item['type'] == 'local' || $item['type'] == 'cas') {
                $affilValFunc[$item['affiliationid']] = create_function('', 
'return 0;');
                $addUserFunc[$item['affiliationid']] = create_function('', 
'return NULL;');
                $updateUserFunc[$item['affiliationid']] = create_function('', 
'return NULL;');

Reply via email to