loginsrv

Unnamed repository; edit this file 'description' to name the repository.
git clone git@jamesshield.xyz:repos/loginsrv.git
Log | Files | Refs | README | LICENSE

commit 727f8f1ebf1b1ce9cbaa8be5b125c49a688efcce
parent 46c165561f89f8768f0f94e06b8ebc4936b6832e
Author: magikstm <myskina@gmail.com>
Date:   Tue,  7 Nov 2017 22:15:17 -0500

Caddy - Use {user} placeholder for logs #32

Diffstat:
Mlogin/handler.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/login/handler.go b/login/handler.go @@ -131,7 +131,7 @@ func (h *Handler) handleLogin(w http.ResponseWriter, r *http.Request) { } if r.Method == "GET" { - userInfo, valid := h.getToken(r) + userInfo, valid := h.GetToken(r) writeLoginForm(w, loginFormData{ Config: h.config, @@ -152,7 +152,7 @@ func (h *Handler) handleLogin(w http.ResponseWriter, r *http.Request) { h.handleAuthentication(w, r, username, password) return } - userInfo, valid := h.getToken(r) + userInfo, valid := h.GetToken(r) if valid { h.handleRefresh(w, r, userInfo) return