fix
This commit is contained in:
parent
4b9d9d42b7
commit
945c4d7559
1
main.go
1
main.go
|
@ -58,6 +58,7 @@ func BasicAuth(next http.Handler) http.Handler {
|
||||||
w.Header().Set("WWW-Authenticate", `Basic realm="mydomains"`)
|
w.Header().Set("WWW-Authenticate", `Basic realm="mydomains"`)
|
||||||
|
|
||||||
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
http.Error(w, "Unauthorized", http.StatusUnauthorized)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue