fix: remove debug error

Co-Authored-By: Sindre Rødseth Hansen <sindre.rodseth.hansen@nav.no>
This commit is contained in:
Trong Huu Nguyen
2021-10-06 14:54:30 +02:00
parent 1f939d603d
commit b8a62826ad

View File

@@ -37,7 +37,6 @@ func (h *Handler) GetSessionCookieName() string {
}
func (h *Handler) getLoginCookie(w http.ResponseWriter, r *http.Request) (*LoginCookie, error) {
return nil, fmt.Errorf("Feiltest")
loginCookieJson, err := h.getEncryptedCookie(r, h.GetLoginCookieName())
if err != nil {
return nil, err