|
|
@ -13,7 +13,7 @@ import ( |
|
|
|
func reqPass(w http.ResponseWriter, r *http.Request) { |
|
|
|
func reqPass(w http.ResponseWriter, r *http.Request) { |
|
|
|
defer log.PanicSafe() |
|
|
|
defer log.PanicSafe() |
|
|
|
log.LogInfo("reqPass called.") |
|
|
|
log.LogInfo("reqPass called.") |
|
|
|
username := r.FormValue("UserName") |
|
|
|
username := r.URL.Query()["UserName"][0] |
|
|
|
var userID string |
|
|
|
var userID string |
|
|
|
g, err := dg.Guild(config.GuildID) |
|
|
|
g, err := dg.Guild(config.GuildID) |
|
|
|
if err == nil { |
|
|
|
if err == nil { |
|
|
|