up
This commit is contained in:
parent
d4b026466b
commit
0f300c3e72
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user