Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fabiolb/fabio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0bc395d4dbb8920f12469e4553e6d6a25134bd76
Choose a base ref
..
head repository: fabiolb/fabio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 10f03830a1369e9b90314e6d2e2f0f4077196e41
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/basic.go
4 changes: 2 additions & 2 deletions auth/basic.go
Original file line number Diff line number Diff line change
@@ -42,8 +42,8 @@ func newBasicAuth(cfg config.BasicAuth) (AuthScheme, error) {
continue // to prevent nil pointer dereference below
}

// refresh the htpasswd file only if its modification time has chanhed
// even if the new htpasswd file is older then previously loaded
// refresh the htpasswd file only if its modification time has changed
// even if the new htpasswd file is older than previously loaded
if cfg.ModTime != stat.ModTime() {
if err := secrets.Reload(bad); err == nil {
log.Println("[INFO] The htpasswd file has been successfully reloaded")