Skip to content

Commit

Permalink
changing priotection of role function to match others
Browse files Browse the repository at this point in the history
  • Loading branch information
vbhayden authored Oct 17, 2024
1 parent 1ffcec3 commit d3eb4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private function attempt_jwt_login() {
*
* If either of these are not present, then the user will be able to log in.
*/
function doesPayloadSatisfyRoleRequirement($payload) {
private function doesPayloadSatisfyRoleRequirement($payload) {

$checkForRole = getenv('MOODLE_JWT_USE_ROLE_CHECK');
$roleField = getenv('MOODLE_JWT_ROLE_FIELD');
Expand Down

0 comments on commit d3eb4a2

Please sign in to comment.