mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
fix https://github.com/kataras/iris/issues/879 by @martinnagelberg
Former-commit-id: 171480e3cb0b172d8f28eb95a36c97f926836810
This commit is contained in:
@@ -42,6 +42,7 @@ func New(c Config) context.Handler {
|
||||
config.Realm = c.Realm
|
||||
}
|
||||
config.Users = c.Users
|
||||
config.Expires = c.Expires
|
||||
|
||||
b := &basicAuthMiddleware{config: config}
|
||||
b.init()
|
||||
|
||||
Reference in New Issue
Block a user