names are always saved lowercase

This commit is contained in:
2026-02-27 18:33:09 +01:00
parent 8a92073066
commit 859df7819c
2 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,6 @@ func Login(w http.ResponseWriter, r *http.Request) {
user, err := storage.GetUserByUsername(creds.Username)
if err != nil {
println("user " + creds.Username + " not found")
http.Error(w, "Invalid credentials", http.StatusUnauthorized)
return
}