mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00
Fix comment
This commit is contained in:
parent
d72ab1448e
commit
aa31e985c4
@ -257,10 +257,8 @@ public class Startup
|
||||
|
||||
// Add authentication and authorization to the request pipeline.
|
||||
app.UseAuthentication();
|
||||
|
||||
// Add current context - before authz. Is this OK?
|
||||
// Note: ICurrentContext is used in authorization middleware so it must be registered first
|
||||
app.UseMiddleware<CurrentContextMiddleware>();
|
||||
|
||||
app.UseAuthorization();
|
||||
|
||||
// Add endpoints to the request pipeline.
|
||||
|
Loading…
x
Reference in New Issue
Block a user