From ddf96f68cc99ad8002a92660372f38b654eb6221 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Tue, 27 Jun 2023 03:36:10 +0800 Subject: Use JSON response for "user/logout" (#25522) The request sent to "user/logout" is from "link-action", it expects to get JSON response. --- templates/base/head_navbar.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/base') diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index a2be0187d9..3898c98ac9 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -68,7 +68,7 @@
- + {{svg "octicon-sign-out"}} {{.locale.Tr "sign_out"}} @@ -186,7 +186,7 @@ {{end}}
- + {{svg "octicon-sign-out"}} {{.locale.Tr "sign_out"}} -- cgit v1.2.3