Skip to content

Commit fba5cb6

Browse files
committed
hot fix name
1 parent da8d7fe commit fba5cb6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

OpenFlow/src/LoginProvider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,9 @@ export class LoginProvider {
409409
if (!Util.IsNullEmpty(profile["http://schemas.microsoft.com/identity/claims/displayname"])) {
410410
_user.name = profile["http://schemas.microsoft.com/identity/claims/displayname"];
411411
}
412+
if (!Util.IsNullEmpty(profile["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"])) {
413+
_user.name = profile["http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"];
414+
}
412415
_user.username = username;
413416
(_user as any).mobile = profile.mobile;
414417
if (Util.IsNullEmpty(_user.name)) { done("Cannot add new user, name is empty, please add displayname to claims", null); return; }

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.331
1+
0.0.332

0 commit comments

Comments
 (0)