Skip to content

Commit 05241a1

Browse files
author
wpdebruin
authored
Update JwtService.cfc
fix validateSecurity for permissions instead of roles
1 parent 3b8b2e9 commit 05241a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/jwt/JwtService.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ component accessors="true" singleton {
581581
* @return { allow:boolean, type:authentication|authorization }
582582
*/
583583
struct function ruleValidator( required rule, required controller ){
584-
return validateSecurity( arguments.rule.roles );
584+
return validateSecurity( arguments.rule.permissions );
585585
}
586586

587587
/**

0 commit comments

Comments
 (0)