fix bugs in new cas code for discussion forum
authorAndrew Engelbrecht <andrew@fsf.org>
Mon, 15 May 2023 22:50:47 +0000 (18:50 -0400)
committerroot <root@login0d.fsf.org>
Mon, 15 May 2023 22:50:47 +0000 (18:50 -0400)
lib/Auth/Source/FSFDrupalAuth.php

index 9e2358ea8b3b58b2dcac2a314b9383b9cade9afc..29941d69fcf3819bfb41187a833a9f4f1d4376d9 100644 (file)
@@ -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)) {