Revert "disable signups"
This reverts commit ca875ed01d57c69c0001719bda5375f94db4c46e.
This commit is contained in:
parent
f99049d155
commit
eaab2ff339
@ -61,7 +61,7 @@ module.exports = function(db) {
|
||||
// Setting application local variables
|
||||
app.locals.google_analytics_id = config.app.google_analytics_id;
|
||||
app.locals.title = config.app.title;
|
||||
app.locals.signupDisabled = true; //config.signupDisabled;
|
||||
app.locals.signupDisabled = config.signupDisabled;
|
||||
app.locals.description = config.app.description;
|
||||
app.locals.keywords = config.app.keywords;
|
||||
|
||||
@ -108,10 +108,6 @@ module.exports = function(db) {
|
||||
return next();
|
||||
}
|
||||
|
||||
if (urlPath.indexOf('signup') > -1) {
|
||||
res.send(400); return;
|
||||
}
|
||||
|
||||
if (urlPath.indexOf('users') > -1 && urlPath.indexOf('me') > -1) {
|
||||
return next();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user