mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
closes #1635
if email isnt confirmed, show a warning in account/edit and let users resend confirm email
This commit is contained in:
@@ -41,6 +41,7 @@ apiController.getConfig = function(req, res, next) {
|
||||
config.environment = process.env.NODE_ENV;
|
||||
config.isLoggedIn = !!req.user;
|
||||
config['cache-buster'] = meta.config['cache-buster'] || '';
|
||||
config.requireEmailConfirmation = parseInt(meta.config.requireEmailConfirmation, 10) === 1;
|
||||
config.version = pkg.version;
|
||||
|
||||
if (!req.user) {
|
||||
|
||||
Reference in New Issue
Block a user