Une coupure du gitlab et des services associés est prévue en tout début de matinée ce vendredi 19 août 2022 et ne devrait pas durer plus de 30 minutes.

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