Signed-off-by: Mirror <voice@magicalmirro.red>
@@ -41,7 +41,7 @@ func (a *AdminApi) checkAuth(w http.ResponseWriter, r *http.Request) (success bo
success = true
}
if !success {
if !ok {
if ok {
time.Sleep(3 * time.Second)
w.Header().Set("WWW-Authenticate", fmt.Sprintf("Basic realm=\"%s\"", config.ApplicationName))
The note is not visible to the blocked user.