Skip to content

Commit 241af79

Browse files
authored
do not DeleteLocaleCookie when sign out
1 parent 4e5d16f commit 241af79

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

routers/web/auth/auth.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ func HandleSignOut(ctx *context.Context) {
371371
ctx.DeleteSiteCookie(setting.CookieUserName)
372372
ctx.DeleteSiteCookie(setting.CookieRememberName)
373373
ctx.Csrf.DeleteCookie(ctx)
374-
middleware.DeleteLocaleCookie(ctx.Resp)
375374
middleware.DeleteRedirectToCookie(ctx.Resp)
376375
}
377376

0 commit comments

Comments
 (0)