We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ffcec3 commit d3eb4a2Copy full SHA for d3eb4a2
auth.php
@@ -237,7 +237,7 @@ private function attempt_jwt_login() {
237
*
238
* If either of these are not present, then the user will be able to log in.
239
*/
240
- function doesPayloadSatisfyRoleRequirement($payload) {
+ private function doesPayloadSatisfyRoleRequirement($payload) {
241
242
$checkForRole = getenv('MOODLE_JWT_USE_ROLE_CHECK');
243
$roleField = getenv('MOODLE_JWT_ROLE_FIELD');
0 commit comments