delete AllowAnonymous() in all files
This commit is contained in:
@@ -9,7 +9,6 @@ public class CreateUserEndpoint(LibraryDbContext database) : Endpoint<CreateUser
|
||||
public override void Configure()
|
||||
{
|
||||
Post("/api/users");
|
||||
AllowAnonymous();
|
||||
}
|
||||
|
||||
public override async Task HandleAsync(CreateUserDto req, CancellationToken ct)
|
||||
|
||||
Reference in New Issue
Block a user