Commit 2f47d6e9 authored by ale's avatar ale
Browse files

Do not use a nil template context

parent bc53de8d
......@@ -258,7 +258,7 @@ func (s *Service) handleLogout(w http.ResponseWriter, r *http.Request) {
s.deleteLoginSession(r)
s.DeleteAuthSession(r)
s.RenderTemplate(w, r, "logout.html", nil)
s.RenderTemplate(w, r, "logout.html", map[string]interface{}{})
}
// Fetch remote IP address from the request.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment