From: Andrew Engelbrecht Date: Mon, 15 May 2023 22:50:47 +0000 (-0400) Subject: fix bugs in new cas code for discussion forum X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a247e117fc417e2b2a2ff49ecd89d39899dc29fa;p=fsfdrupalauth.git fix bugs in new cas code for discussion forum --- diff --git a/lib/Auth/Source/FSFDrupalAuth.php b/lib/Auth/Source/FSFDrupalAuth.php index 9e2358e..29941d6 100644 --- a/lib/Auth/Source/FSFDrupalAuth.php +++ b/lib/Auth/Source/FSFDrupalAuth.php @@ -74,7 +74,7 @@ class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase private $discussion_process_adhoc_no_access_group_id; private $discussion_process_donation_amount; - private $discussion_process_moderator_access_group_id; + private $discussion_moderator_access_group_id; /** * Constructor for this authentication source. @@ -122,7 +122,9 @@ class FSFDrupalAuth extends \SimpleSAML\Module\core\Auth\UserPassBase 'discussion_process_contrib_end_date', 'discussion_process_adhoc_access_group_id', 'discussion_process_adhoc_no_access_group_id', - 'discussion_process_donation_amount',] + 'discussion_process_donation_amount', + + 'discussion_moderator_access_group_id',] as $param) { if (!array_key_exists($param, $config)) {