mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1913 from overleaf/jel-v1-logout
Remove the v1-logout endpoint GitOrigin-RevId: 4a31f277c2cf1fa0f8c76c546728dae3eb7665c7
This commit is contained in:
parent
b1e8cb9cf0
commit
f84c43a7b7
1 changed files with 1 additions and 4 deletions
|
@ -254,10 +254,7 @@ module.exports = UserController = {
|
||||||
if (err != null) {
|
if (err != null) {
|
||||||
return next(err)
|
return next(err)
|
||||||
}
|
}
|
||||||
const redirect_url =
|
const redirect_url = '/login'
|
||||||
settings.overleaf != null
|
|
||||||
? settings.overleaf.host + '/users/ensure_signed_out'
|
|
||||||
: '/login'
|
|
||||||
return res.redirect(redirect_url)
|
return res.redirect(redirect_url)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue