Skip to content

Commit 2e52559

Browse files
author
Tiago Brenck
committed
removed unused comment.
1 parent a3c1e3a commit 2e52559

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

5-WebApp-AuthZ/5-1-Roles/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ public static IServiceCollection AddMicrosoftIdentityPlatformAuthentication(this
275275

276276
/*
277277
// In code..(Controllers & elsewhere)
278-
[Authorize(Roles = DirectoryViewers")] // In controllers
279278
[Authorize(Policy = DirectoryViewersOnly")] // In controllers
280279
// or
281280
User.IsInRole("UserReaders"); // In methods

0 commit comments

Comments
 (0)