Skip to content

Commit

Permalink
Change IsBasicAuth to HasBasicAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
dinh-tran committed Dec 6, 2017
1 parent abef892 commit e008df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e008df9

Please sign in to comment.