mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:23:59 +00:00
whitelist /user/activate for non public access
This commit is contained in:
parent
84db5ec23a
commit
f9fdec8a15
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ module.exports = class Router
|
|||
webRouter.get '/blog/*', BlogController.getPage
|
||||
|
||||
webRouter.get '/user/activate', UserPagesController.activateAccountPage
|
||||
AuthenticationController.addEndpointToLoginWhitelist '/user/activate'
|
||||
|
||||
webRouter.get '/user/settings', AuthenticationController.requireLogin(), UserPagesController.settingsPage
|
||||
webRouter.post '/user/settings', AuthenticationController.requireLogin(), UserController.updateUserSettings
|
||||
|
|
Loading…
Reference in a new issue