mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-23 17:34:02 +00:00
Making the linter happy by removing superfluous ;
Signed-off-by: Ralph Krimmel <rkrimme1@gwdg.de>
This commit is contained in:
parent
3fb3ca54e9
commit
9534cdafbf
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
responseError(res, '403', 'Forbidden', 'oh no.')
|
||||
} else {
|
||||
if (!req.session) req.session = {}
|
||||
req.session.returnTo = req.originalUrl || config.serverUrl + '/';
|
||||
req.session.returnTo = req.originalUrl || config.serverUrl + '/'
|
||||
req.flash('error', 'You are not allowed to access this page. Maybe try logging in?')
|
||||
res.redirect(config.serverURL + '/')
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue