Fix handleAdminSearch

This commit is contained in:
Pancakes 2025-04-27 12:03:34 -04:00
parent aff371836c
commit 692c7681c1
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

View File

@ -890,7 +890,7 @@ func handleAdminSearch(w http.ResponseWriter, r *http.Request) {
return
}
username := r.PostFormValue("username")
username := r.URL.Query().Get("username")
// this does a quick call to make sure the username exists on the server before allowing the rest of the code to run
// this calls error value 404 (StatusNotFound) if there's no data; this means the username does not exist in the server