Browse Source

typo in reqPass

hkremer/rebranding
Gregory Rudolph 4 years ago
parent
commit
78c368c832
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      auth.go

2
auth.go

@ -16,7 +16,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) { @@ -16,7 +16,7 @@ func reqPass(w http.ResponseWriter, r *http.Request) {
g, err := dg.Guild(config.GuildID)
if err == nil {
for _, m := range g.Members {
if m.User.Username == "johndoe" {
if m.User.Username == username {
userID = m.User.ID
}
}

Loading…
Cancel
Save