Skip to content
Snippets Groups Projects
Unverified Commit 6a088d68 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #16310 from nextcloud/enh/drop-execution-context

Don't send executionContexts for Clear-Site-Data
parents e9bf196d 6235a66a
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ class LoginController extends Controller { ...@@ -128,7 +128,7 @@ class LoginController extends Controller {
$this->session->set('clearingExecutionContexts', '1'); $this->session->set('clearingExecutionContexts', '1');
$this->session->close(); $this->session->close();
$response->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"'); $response->addHeader('Clear-Site-Data', '"cache", "storage"');
return $response; return $response;
} }
......
...@@ -138,7 +138,7 @@ class LoginControllerTest extends TestCase { ...@@ -138,7 +138,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login'); ->willReturn('/login');
$expected = new RedirectResponse('/login'); $expected = new RedirectResponse('/login');
$expected->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"'); $expected->addHeader('Clear-Site-Data', '"cache", "storage"');
$this->assertEquals($expected, $this->loginController->logout()); $this->assertEquals($expected, $this->loginController->logout());
} }
...@@ -168,7 +168,7 @@ class LoginControllerTest extends TestCase { ...@@ -168,7 +168,7 @@ class LoginControllerTest extends TestCase {
->willReturn('/login'); ->willReturn('/login');
$expected = new RedirectResponse('/login'); $expected = new RedirectResponse('/login');
$expected->addHeader('Clear-Site-Data', '"cache", "storage", "executionContexts"'); $expected->addHeader('Clear-Site-Data', '"cache", "storage"');
$this->assertEquals($expected, $this->loginController->logout()); $this->assertEquals($expected, $this->loginController->logout());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment