Skip to content

Commit 2e24c61

Browse files
authored
fix: if username and email not available show 'email not found' (#69)
Signed-off-by: Denis Golovin <[email protected]>
1 parent 597b2d9 commit 2e24c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/authentication-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export class RedHatAuthenticationService {
445445
scope: scope,
446446
account: {
447447
id: claims.sub,
448-
label: claims.preferred_username || claims.email || '[email protected]',
448+
label: claims.preferred_username || claims.email || 'email not found',
449449
},
450450
};
451451
}

0 commit comments

Comments
 (0)