mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-05-23 03:16:17 +08:00
Fix handleAdminSearch
This commit is contained in:
parent
aff371836c
commit
692c7681c1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user