Skip to content

Commit ab46128

Browse files
committed
Update SampleDataController
1 parent 7b8cd1d commit ab46128

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/KK.AspNetCore.EasyAuthAuthentication.Sample/Controllers/SampleDataController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public IEnumerable<WeatherForecast> WeatherForecasts()
3333
[Authorize(Roles = "SystemAdmin")]
3434
public string UserName()
3535
{
36-
var name = User.HasClaim(ClaimTypes.Name, "kik@tsmmscloud.onmicrosoft.de");
36+
var name = User.HasClaim(ClaimTypes.Name, "user@somecloud.onmicrosoft.com");
3737
var peng = User.HasClaim(ClaimTypes.Role, "SystemAdmin");
3838
var blubb = HttpContext.User.IsInRole("SystemAdmin");
3939
var pop = User.IsInRole("SystemAdmin");

0 commit comments

Comments
 (0)