aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/controllers/system.js
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/system.js')
-rw-r--r--controllers/system.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/controllers/system.js b/controllers/system.js
index e655ee9..6432062 100644
--- a/controllers/system.js
+++ b/controllers/system.js
@@ -25,14 +25,6 @@ Validator.prototype.getErrors = function() {
return returnThis;
}
-
- if (req.user.status < access) {
- console.log(req.header('Referer'));
- if (req.header('Referer') === undefined) { return res.status(403).render('error', { title: 403, text: 'Du har ikke tilgang til denne siden. Du må registrere deg først. Sjekk mailen din for å se invitekode.' }); }
- else { return res.redirect('back'); }
- }
-
-
/**
* Before the user log in
* ===============================================================