File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -565,19 +565,19 @@ component accessors="true" singleton threadsafe {
565
565
}
566
566
567
567
/**
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.
569
569
* if it doesn't exist, then call parseToken() and try to load it and authenticate it.
570
570
*
571
571
* @return The user that implements IAuth and IJwtSubject
572
572
*/
573
573
function getUser (){
574
574
var event = variables .requestService .getContext ();
575
575
576
- if ( ! event .privateValueExists ( variables .settings .prcUserVariable ) ) {
576
+ if ( ! event .privateValueExists ( variables .settings .authentication . prcUserVariable ) ) {
577
577
parseToken ();
578
578
}
579
579
580
- return event .getPrivateValue ( variables .settings .prcUserVariable );
580
+ return event .getPrivateValue ( variables .settings .authentication . prcUserVariable );
581
581
}
582
582
583
583
/* ***********************************************************************************/
You can’t perform that action at this time.
0 commit comments