mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 16:05:49 +01:00
app.showEmailConfirmWarning :dull:
This commit is contained in:
@@ -504,7 +504,7 @@ app.cacheBuster = null;
|
|||||||
});
|
});
|
||||||
|
|
||||||
createHeaderTooltips();
|
createHeaderTooltips();
|
||||||
showEmailConfirmWarning();
|
app.showEmailConfirmWarning();
|
||||||
|
|
||||||
socket.removeAllListeners('event:nodebb.ready');
|
socket.removeAllListeners('event:nodebb.ready');
|
||||||
socket.on('event:nodebb.ready', function(cacheBusters) {
|
socket.on('event:nodebb.ready', function(cacheBusters) {
|
||||||
@@ -537,7 +537,7 @@ app.cacheBuster = null;
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
function showEmailConfirmWarning(err) {
|
app.showEmailConfirmWarning = function(err) {
|
||||||
if (!config.requireEmailConfirmation || !app.user.uid) {
|
if (!config.requireEmailConfirmation || !app.user.uid) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -569,7 +569,7 @@ app.cacheBuster = null;
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
showWelcomeMessage = window.location.href.indexOf('loggedin') !== -1;
|
showWelcomeMessage = window.location.href.indexOf('loggedin') !== -1;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user