aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/signout_test.go
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-03-02 22:50:31 -0600
committerGitHub <noreply@github.com>2020-03-02 22:50:31 -0600
commit0e2217bd2d8833f0bff84767f676fc93c84d4b9a (patch)
tree1c3761814e57b37cb313a9e475719d76e9dbe02f /integrations/signout_test.go
parentbea497ff96f4deae617e54468576d11d105e2125 (diff)
downloadgitea-0e2217bd2d8833f0bff84767f676fc93c84d4b9a.tar.gz
gitea-0e2217bd2d8833f0bff84767f676fc93c84d4b9a.zip
Logout POST action (#10582)
* Change logout to POST * Update for redirect Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'integrations/signout_test.go')
-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