minor changes

This commit is contained in:
James Tombleson 2024-04-14 19:38:45 -07:00
parent a110f2de73
commit fe4293b02f
3 changed files with 2 additions and 5 deletions

View File

@ -41,7 +41,7 @@ func (h *Handlers) AuthLoginPost(c echo.Context) error {
c.SetCookie(cookie) c.SetCookie(cookie)
// render // render
return Render(c, http.StatusOK, home.Home()) return Render(c, http.StatusOK, auth.LoginPost())
} }
func (h *Handlers) AuthShowCookies(c echo.Context) error { func (h *Handlers) AuthShowCookies(c echo.Context) error {

View File

@ -36,7 +36,3 @@ func (h *Handlers) SettingsPost(c echo.Context) error {
return Render(c, http.StatusOK, home.SettingsUpdated()) return Render(c, http.StatusOK, home.SettingsUpdated())
} }
//func (h *Handlers) ListHandler(c echo.Context) error {
// return Render(c, http.StatusOK, views.List())
//}

View File

@ -4,6 +4,7 @@ type AllCookies struct {
Username string Username string
Token string Token string
RefreshToken string RefreshToken string
DarkMode string
} }
type ShowCookie struct { type ShowCookie struct {