Externl Login
This commit is contained in:
parent
cf5bef475d
commit
6c175783a9
12 changed files with 346 additions and 35 deletions
|
|
@ -16,7 +16,7 @@ namespace Yavsc.Helpers
|
|||
|
||||
public static string GetUserName(this ClaimsPrincipal user)
|
||||
{
|
||||
return user.FindFirstValue(ClaimTypes.Name);
|
||||
return user.FindFirstValue("name");
|
||||
}
|
||||
|
||||
public static bool IsSignedIn(this ClaimsPrincipal user)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue