remove beta flash
This commit is contained in:
@ -186,11 +186,6 @@ passportConfigurator.init();
|
|||||||
app.use(rxMiddleware());
|
app.use(rxMiddleware());
|
||||||
|
|
||||||
app.use(function(req, res, next) {
|
app.use(function(req, res, next) {
|
||||||
// add beta warning
|
|
||||||
req.flash('info', {
|
|
||||||
msg: `warning: you are on experimental branch of Free Code Camp:
|
|
||||||
Your progress here may or may not be saved to the main site`
|
|
||||||
});
|
|
||||||
|
|
||||||
// Make user object available in templates.
|
// Make user object available in templates.
|
||||||
res.locals.user = req.user;
|
res.locals.user = req.user;
|
||||||
|
Reference in New Issue
Block a user