Skip to content

Commit 7de2c5b

Browse files
committed
missing prcuservariable from previous refactoring
1 parent d1a2a4e commit 7de2c5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

models/jwt/JwtService.cfc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,19 +565,19 @@ component accessors="true" singleton threadsafe {
565565
}
566566

567567
/**
568-
* Get the authenticated user stored on `prc` via the variables.settings.prcUserVariable setting.
568+
* Get the authenticated user stored on `prc` via the variables.settings.authentication.prcUserVariable setting.
569569
* if it doesn't exist, then call parseToken() and try to load it and authenticate it.
570570
*
571571
* @return The user that implements IAuth and IJwtSubject
572572
*/
573573
function getUser(){
574574
var event = variables.requestService.getContext();
575575

576-
if ( !event.privateValueExists( variables.settings.prcUserVariable ) ) {
576+
if ( !event.privateValueExists( variables.settings.authentication.prcUserVariable ) ) {
577577
parseToken();
578578
}
579579

580-
return event.getPrivateValue( variables.settings.prcUserVariable );
580+
return event.getPrivateValue( variables.settings.authentication.prcUserVariable );
581581
}
582582

583583
/************************************************************************************/

0 commit comments

Comments
 (0)