File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -578,7 +578,7 @@ component {
578
578
var stResult = {};
579
579
var i = 0 ;
580
580
581
- if (structKeyExists (arguments .req .headers , " Authorization" ) and reFindNoCase (" ^Basic \w +$" , arguments .req .headers .Authorization )) {
581
+ if (structKeyExists (arguments .req .headers , " Authorization" ) and reFindNoCase (" ^Basic . +$" , arguments .req .headers .Authorization )) {
582
582
auth = ToString (ToBinary (listLast (arguments .req .headers .Authorization , " " )));
583
583
form .userlogin = listFirst (auth , " :" );
584
584
form .password = listRest (auth , " :" );
@@ -588,7 +588,9 @@ component {
588
588
arguments .req .user = {
589
589
" id" = stResult .userid & " _CLIENTUD" ,
590
590
" authentication" = " basic" ,
591
- " groups" = application .security .userdirectories .CLIENTUD .getUserGroups (stResult .userid )
591
+ " profile" = application .fapi .getContentType (" dmProfile" ).getProfile (stResult .userid , stResult .ud ),
592
+ " groups" = application .security .userdirectories .CLIENTUD .getUserGroups (stResult .userid ),
593
+ " roles" = []
592
594
};
593
595
594
596
for (i = 1 ; i <= arrayLen (arguments .req .user .groups ); i ++ ) {
You can’t perform that action at this time.
0 commit comments