forked from openwebwork/webwork2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't require $authen{admin_module} is a subset of $authen{user_module}.
This changes the logic of how $authen{admin_module} is used to restrict modules for the admin course. Instead of looping over all user_modules, and requiring that module also be listed in admin_modules, only loop over the modules listed in admin_modules when logging into the admin course. This fixes an issue with LDAP (and maybe other authen modules), where if they are listed in the user_module list, they have to also be listed in the admin_module list, otherwise the error message generated for this causes the authentication to fail.
- Loading branch information
Showing
3 changed files
with
12 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters