mirror of
https://github.com/tale/headplane.git
synced 2026-08-26 04:16:49 +00:00
displayName correctly integrated
This commit is contained in:
committed by
Aarnav Tale
parent
ad469129bc
commit
27b2831f00
@@ -132,10 +132,6 @@ function getName(user: client.UserInfoResponse, claims: client.IDToken) {
|
||||
return user.name;
|
||||
}
|
||||
|
||||
if (user.displayName) {
|
||||
return user.displayName;
|
||||
}
|
||||
|
||||
if (claims.name && typeof claims.name === 'string') {
|
||||
return claims.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user