summaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-03-02 23:54:15 -0600
committerGitHub <noreply@github.com>2020-03-03 13:54:15 +0800
commit6f5656ab0ebec03fe63898208dabc802c4be46ab (patch)
tree4cd9fbcf22592277c20c8b73326b63e02d57aebb /integrations
parente4a876cee122de9126d640293c14841bcd0da745 (diff)
downloadgitea-6f5656ab0ebec03fe63898208dabc802c4be46ab.tar.gz
gitea-6f5656ab0ebec03fe63898208dabc802c4be46ab.zip
Logout POST action (#10582) (#10585)
* Change logout to POST * Update for redirect * Revert octicon to font Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'integrations')
-rw-r--r--integrations/signout_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/signout_test.go b/integrations/signout_test.go
index 65957b244e..c31c913070 100644
--- a/integrations/signout_test.go
+++ b/integrations/signout_test.go
@@ -14,7 +14,7 @@ func TestSignOut(t *testing.T) {
session := loginUser(t, "user2")
- req := NewRequest(t, "GET", "/user/logout")
+ req := NewRequest(t, "POST", "/user/logout")
session.MakeRequest(t, req, http.StatusFound)
// try to view a private repo, should fail