diff options
Diffstat (limited to 'pkg/handler/auth/login.go')
| -rw-r--r-- | pkg/handler/auth/login.go | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/handler/auth/login.go b/pkg/handler/auth/login.go index 89fd87b..9cc13cc 100644 --- a/pkg/handler/auth/login.go +++ b/pkg/handler/auth/login.go @@ -26,7 +26,7 @@ func NewLoginHandler(auth authService) *LoginHandler {  	}  } -func (g *LoginHandler) Logout(w http.ResponseWriter, r *http.Request) error { +func (g *LoginHandler) Logout(w http.ResponseWriter, r *ext.Request) error {  	cookie := &http.Cookie{  		Name:    "auth",  		Value:   "", @@ -44,7 +44,7 @@ func (g *LoginHandler) Logout(w http.ResponseWriter, r *http.Request) error {  	return nil  } -func (g *LoginHandler) Login(w http.ResponseWriter, r *http.Request) error { +func (g *LoginHandler) Login(w http.ResponseWriter, r *ext.Request) error {  	referer := r.URL.Query().Get("referer")  	// if query value is empty tries to get from header  | 
