mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
improve Context.Proceed
Now this is possible: ok := (Handler1) && ctx.Proceed(Handler2)) || ctx.Proceed(Handler3)
This commit is contained in:
@@ -443,6 +443,7 @@ func (b *BasicAuth) serveHTTP(ctx *context.Context) {
|
||||
user = &context.SimpleUser{
|
||||
Authorization: authorizationType,
|
||||
AuthorizedAt: authorizedAt,
|
||||
ID: username,
|
||||
Username: username,
|
||||
Password: password,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user