Merge pull request #8931 from BerkeleyTrue/fix/remove-verify-flash
fix(email): Remove flash until author required bug is fixed
This commit is contained in:
@ -30,6 +30,9 @@ export function ifNoUser401(req, res, next) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function flashIfNotVerified(req, res, next) {
|
export function flashIfNotVerified(req, res, next) {
|
||||||
|
return next();
|
||||||
|
/*
|
||||||
|
// disabled until authorized required bug is fixed
|
||||||
const user = req.user;
|
const user = req.user;
|
||||||
if (!user) {
|
if (!user) {
|
||||||
return next();
|
return next();
|
||||||
@ -42,5 +45,5 @@ export function flashIfNotVerified(req, res, next) {
|
|||||||
'<a href="/update-email">here</a>.'
|
'<a href="/update-email">here</a>.'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return next();
|
*/
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user