File tree 2 files changed +2
-2
lines changed
NextTechEvent/NextTechEvent
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 26
26
27
27
if (user ? .Identity ? .Name != null && user .Identity .IsAuthenticated )
28
28
{
29
- var id = user ? .Claims .FirstOrDefault (c => c .Type == " sid " )? .Value ;
29
+ var id = user ? .Claims .FirstOrDefault (c => c .Type == " http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier " )? .Value ;
30
30
var savedstatus = await _api .GetStatusAsync (ConferenceId , id );
31
31
if (savedstatus != null )
32
32
{
Original file line number Diff line number Diff line change 29
29
ArgumentNullException .ThrowIfNull (authenticationStateTask );
30
30
var authState = await authenticationStateTask ;
31
31
var user = authState .User ;
32
- var id = user ? .Claims .FirstOrDefault (c => c .Type == " sid " )? .Value ;
32
+ var id = user ? .Claims .FirstOrDefault (c => c .Type == " http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier " )? .Value ;
33
33
Calendar = await _api .GetCalendarByUserIdAsync (id );
34
34
UpdateUrl ();
35
35
}
You can’t perform that action at this time.
0 commit comments