Merge pull request #12842 from overleaf/jpa-logout
[web] remove GET /logout endpoints GitOrigin-RevId: 93f9498fdb66ece5028d90941aac50cda2737604
This commit is contained in:
@@ -89,7 +89,7 @@ describe('<LeaveModalForm />', function () {
|
||||
sinon.assert.calledTwice(setInFlight)
|
||||
sinon.assert.calledWithMatch(setInFlight, false)
|
||||
sinon.assert.calledOnce(assignStub)
|
||||
sinon.assert.calledWith(assignStub, '/login')
|
||||
sinon.assert.calledWith(assignStub, '/')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ async function run({ assertHasStatusCode, loginCsrfToken, request }) {
|
||||
}
|
||||
|
||||
async function cleanup({ assertHasStatusCode, getCsrfTokenFor, request }) {
|
||||
const logoutCsrfToken = await getCsrfTokenFor('/logout')
|
||||
const logoutCsrfToken = await getCsrfTokenFor('/project')
|
||||
const response = await request('/logout', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user