This commit is contained in:
cangui 2025-06-19 18:05:13 +02:00
parent d4b026466b
commit 0f300c3e72

View File

@ -110,6 +110,8 @@ r.PathPrefix("/webdav/").Handler(http.HandlerFunc(func(w http.ResponseWriter, re
http.Error(w, "Unauthorized", http.StatusUnauthorized) http.Error(w, "Unauthorized", http.StatusUnauthorized)
return return
} }
log.Printf("✅ email saisie: %s", email)
log.Printf("✅ passw saisie: %s", password)
var user models.User var user models.User
result := bd.Where("email = ?", email).First(&user) result := bd.Where("email = ?", email).First(&user)