diff --git a/server/login.go b/server/login.go index 55dfbfce3..9e951d786 100644 --- a/server/login.go +++ b/server/login.go @@ -117,7 +117,7 @@ func GetLogin(c *gin.Context) { func GetLogout(c *gin.Context) { httputil.DelCookie(c.Writer, c.Request, "user_sess") httputil.DelCookie(c.Writer, c.Request, "user_last") - c.Redirect(303, "/login") + c.Redirect(303, "/") } func GetLoginToken(c *gin.Context) {