From 68acbf3f31e0fc29cc9c590bc855cac36ea7a672 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sun, 21 Jan 2018 07:14:51 +0200 Subject: [PATCH] fix https://github.com/kataras/iris/issues/879 by @martinnagelberg Former-commit-id: 171480e3cb0b172d8f28eb95a36c97f926836810 --- FAQ.md | 2 +- middleware/basicauth/basicauth.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 72e6f57a..95040630 100644 --- a/FAQ.md +++ b/FAQ.md @@ -63,7 +63,7 @@ You can find all type aliases and their original package import statements at th ## Active development mode -Iris may have reached version 8, but we're not stopping there. We have many feature ideas on our board that we're anxious to add and other innovative web development solutions that we're planning to build into Iris. +Iris may have reached version 10, but we're not stopping there. We have many feature ideas on our board that we're anxious to add and other innovative web development solutions that we're planning to build into Iris. ## Can I find a job if I learn how to use Iris? diff --git a/middleware/basicauth/basicauth.go b/middleware/basicauth/basicauth.go index 6ebf8de0..be3cebec 100644 --- a/middleware/basicauth/basicauth.go +++ b/middleware/basicauth/basicauth.go @@ -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()