Skip to content

Commit

Permalink
Merge pull request #1740 from izzor/main
Browse files Browse the repository at this point in the history
Change from 'as string' to 'toString()' in validateUserDataSubIdToken
  • Loading branch information
FabianGosebrink authored May 3, 2023
2 parents 91dbf60 + 24d6b27 commit 213a818
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export class UserService {
return false;
}

if ((idTokenSub as string) !== (userDataSub as string)) {
if ((idTokenSub.toString()) !== (userDataSub.toString())) {
this.loggerService.logDebug(currentConfiguration, 'validateUserDataSubIdToken failed', idTokenSub, userDataSub);

return false;
Expand Down

0 comments on commit 213a818

Please sign in to comment.