Skip to content

Commit

Permalink
Issue #2134581 by Stevel: Allow role sync rules with commas in values
Browse files Browse the repository at this point in the history
  • Loading branch information
stevel authored and Balazs Dianiska committed May 25, 2015
1 parent c934c90 commit 63f8709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions simplesamlphp_auth.info
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ name = SimpleSAMLphp authentication
description = Allows users to authenticate to a remote SAML identity provider (IdP) via a locally configured SimpleSAMLphp service point (SP).
core = 7.x
configure = admin/config/people/simplesamlphp_auth
php = 5.3
2 changes: 1 addition & 1 deletion simplesamlphp_auth.module
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ function _simplesamlphp_auth_rolepopulation($rolemap) {

watchdog('simplesamlphp_auth', 'Evaluate role evaulation: %roleruleeval', array('%roleruleeval' => $roleruleevaluation), WATCHDOG_DEBUG);

$roleruleevaluationdc = explode(',', $roleruleevaluation);
$roleruleevaluationdc = str_getcsv($roleruleevaluation);
if (!_simplesamlphp_auth_evaulaterolerule($roleruleevaluationdc, $attributes)) {
$addnew = FALSE;
}
Expand Down

0 comments on commit 63f8709

Please sign in to comment.