|
|
|
@ -69,7 +69,7 @@ func tryLogin(w http.ResponseWriter, r *http.Request) {
@@ -69,7 +69,7 @@ func tryLogin(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
fmt.Fprintf(w, "<br><p>Login Success: %+v</p><br>Session: %+v", access, session.Values) |
|
|
|
|
greetUser(w, r) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func usePassword(user string, pass string, ip string) bool { |
|
|
|
|