changed title for restricted to use translations key

This commit is contained in:
Henry Oswald 2014-08-21 13:03:51 +01:00
parent b9372e6dcd
commit 9bcf979e8a

View file

@ -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'