features/client-side-settings #3

Merged
jtom38 merged 12 commits from features/client-side-settings into main 2024-04-14 19:40:30 -07:00
3 changed files with 2 additions and 5 deletions
Showing only changes of commit fe4293b02f - Show all commits

View File

@ -41,7 +41,7 @@ func (h *Handlers) AuthLoginPost(c echo.Context) error {
c.SetCookie(cookie)
// render
return Render(c, http.StatusOK, home.Home())
return Render(c, http.StatusOK, auth.LoginPost())
}
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())
}
//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
Token string
RefreshToken string
DarkMode string
}
type ShowCookie struct {