mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
changed title for restricted to use translations key
This commit is contained in:
parent
b9372e6dcd
commit
9bcf979e8a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module.exports = SecurityManager =
|
|||
restricted : (req, res, next)->
|
||||
if req.session.user?
|
||||
res.render 'user/restricted',
|
||||
title:'Restricted'
|
||||
title:'restricted'
|
||||
else
|
||||
logger.log "user not logged in and trying to access #{req.url}, being redirected to login"
|
||||
res.redirect '/register'
|
||||
|
|
Loading…
Reference in a new issue