mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
Also remove the CSRF token when logged out
This commit is contained in:
@@ -88,6 +88,7 @@ func setNovelFontType(c *fiber.Ctx) error {
|
||||
|
||||
func setLogout(c *fiber.Ctx) error {
|
||||
session.ClearCookie(c, session.Cookie_Token)
|
||||
session.ClearCookie(c, session.Cookie_CSRF)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user