mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 16:05:10 -05:00
Correct title of confirm-password page
This commit is contained in:
parent
1d7d0193fc
commit
707a81cc2a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports = SudoModeController =
|
||||||
if isActive
|
if isActive
|
||||||
logger.log {userId}, "[SudoMode] sudo mode already active, redirecting"
|
logger.log {userId}, "[SudoMode] sudo mode already active, redirecting"
|
||||||
return res.redirect('/project')
|
return res.redirect('/project')
|
||||||
res.render 'sudo_mode/sudo_mode_prompt', title: 'confirm_your_password'
|
res.render 'sudo_mode/sudo_mode_prompt', title: 'confirm_password_to_continue'
|
||||||
|
|
||||||
submitPassword: (req, res, next) ->
|
submitPassword: (req, res, next) ->
|
||||||
userId = AuthenticationController.getLoggedInUserId(req)
|
userId = AuthenticationController.getLoggedInUserId(req)
|
||||||
|
|
Loading…
Reference in a new issue