Unverified Commit de0acbb5 authored by Christoph (Sheogorath) Kern's avatar Christoph (Sheogorath) Kern Committed by GitHub
Browse files

Merge pull request #1153 from toshi0123/for_empty_serverurl

Fix empty serverURL did not redirect properly
parents e48342a6 6aab0327
......@@ -23,7 +23,7 @@ var response = {
responseError(res, '403', 'Forbidden', 'oh no.')
} else {
req.flash('error', 'You are not allowed to access this page. Maybe try logging in?')
res.redirect(config.serverURL + '/')
errorNotFound: function (res) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment