From e008df949eeda39c54344004a4f005471e6c2ae8 Mon Sep 17 00:00:00 2001 From: dinh-tran Date: Wed, 6 Dec 2017 15:30:22 +0700 Subject: [PATCH] Change IsBasicAuth to HasBasicAuth --- app.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.go b/app.go index 63490b4..36d4032 100644 --- a/app.go +++ b/app.go @@ -111,8 +111,8 @@ func (app *App) SetBasicAuth(user, password string) { app.basicAuthPassword = password } -// IsBasicAuth indicate authentication is basic or not -func (app *App) IsBasicAuth() bool { +// HasBasicAuth indicate authentication is basic or not +func (app *App) HasBasicAuth() bool { return app.basicAuth }