refactor(emails): more work in update email interstitial, interstitial skipping, email change on confirmation, deprecation of requireEmailConfirmation

This commit is contained in:
Julian Lam
2021-06-18 11:48:39 -04:00
parent f365bc4600
commit 69c96dd23c
17 changed files with 24 additions and 30 deletions

View File

@@ -719,7 +719,7 @@ app.cacheBuster = null;
};
app.showEmailConfirmWarning = function (err) {
if (!config.requireEmailConfirmation || !app.user.uid) {
if (!app.user.uid) {
return;
}
var msg = {