changement de nom

This commit is contained in:
cedric committed 2026-09-28 12:43:56 +02:00
1 parent 54dba44ebf
commit a1c53892f0
7 files changed
+24 -24

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
// Logwell : puits de logs syslog (UDP/TCP) stocké dans VictoriaLogs,
// Logstream : puits de logs syslog (UDP/TCP) stocké dans VictoriaLogs,
// avec une interface web de consultation.
package main
@@ -131,7 +131,7 @@ func basicAuth(user, pass string, next http.Handler) http.Handler {
if !ok ||
subtle.ConstantTimeCompare([]byte(u), []byte(user)) != 1 ||
subtle.ConstantTimeCompare([]byte(p), []byte(pass)) != 1 {
w.Header().Set("WWW-Authenticate", `Basic realm="logwell"`)
w.Header().Set("WWW-Authenticate", `Basic realm="logstream"`)
http.Error(w, "authentification requise", http.StatusUnauthorized)
return
}