diff --git a/handler.go b/handler.go index 3df6459..0e8378c 100644 --- a/handler.go +++ b/handler.go @@ -106,7 +106,7 @@ func (srv *server) ServeHTTP(w http.ResponseWriter, r *http.Request) { password := config.Get("HTTP_PASS") if !ok || subtle.ConstantTimeCompare([]byte(user), []byte(username)) != 1 || subtle.ConstantTimeCompare([]byte(pass), []byte(password)) != 1 { - w.Header().Set("WWW-Authenticate", `Basic realm="quicknote"`) + w.Header().Set("WWW-Authenticate", `Basic realm="kls"`) w.WriteHeader(401) w.Write([]byte("Unauthorised.\n")) return