minor changes
This commit is contained in:
parent
a110f2de73
commit
fe4293b02f
@ -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 {
|
||||
|
@ -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())
|
||||
//}
|
||||
|
@ -4,6 +4,7 @@ type AllCookies struct {
|
||||
Username string
|
||||
Token string
|
||||
RefreshToken string
|
||||
DarkMode string
|
||||
}
|
||||
|
||||
type ShowCookie struct {
|
||||
|
Loading…
Reference in New Issue
Block a user