func HandleSignOut(ctx *context.Context) {
	_ = ctx.Session.Flush()
	_ = ctx.Session.Destroy(ctx.Resp, ctx.Req)
	ctx.DeleteCookie(setting.CookieUserName)
	ctx.DeleteCookie(setting.CookieRememberName)
	middleware.DeleteCSRFCookie(ctx.Resp)
	middleware.DeleteLocaleCookie(ctx.Resp)
	middleware.DeleteRedirectToCookie(ctx.Resp)
}
// HandleSignOut resets the session and sets the cookies
HandleSignOut resets the session and sets the cookies
// HandleSignOut resets the session and sets the cookies
func HandleSignOut(ctx *context.Context) {
	_ = ctx.Session.Flush()
	_ = ctx.Session.Destroy(ctx.Resp, ctx.Req)
	ctx.DeleteCookie(setting.CookieUserName)
	ctx.DeleteCookie(setting.CookieRememberName)
	middleware.DeleteCSRFCookie(ctx.Resp)
	middleware.DeleteLocaleCookie(ctx.Resp)
	middleware.DeleteRedirectToCookie(ctx.Resp)
}
func HandleSignOut ( ctx * context . Context ) { _ = ctx . Session . Flush ( ) _ = ctx . Session . Destroy ( ctx . Resp , ctx . Req ) ctx . DeleteCookie ( setting . CookieUserName ) ctx . DeleteCookie ( setting . CookieRememberName ) middleware . DeleteCSRFCookie ( ctx . Resp ) middleware . DeleteLocaleCookie ( ctx . Resp ) middleware . DeleteRedirectToCookie ( ctx . Resp ) }
HandleSignOut resets the session and sets the cookies
HandleSignOut resets the session and sets the cookies