diff options
author | Ralph Krimmel | 2019-11-28 12:26:50 +0100 |
---|---|---|
committer | Ralph Krimmel | 2019-11-28 12:26:50 +0100 |
commit | 32113e874d090bdb315b912e2a926dbbd31ccd38 (patch) | |
tree | 60af1701a119262d77691152a93ce40ce4e6a705 /lib/errors.js | |
parent | 3fb3ca54e9c038ad091d234b19f5bd64003f8321 (diff) |
Making the linter happy by removing superfluous ;
Diffstat (limited to 'lib/errors.js')
-rw-r--r-- | lib/errors.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors.js b/lib/errors.js index 56fb7027..f86e8aa3 100644 --- a/lib/errors.js +++ b/lib/errors.js @@ -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 + '/') } |