+
+ This realm requires email address verification.
+
+ {{end}}
+
+
Email address ownership for {{.currentUser.Email}} is not confirmed.
+
+
+
+
+ Click to send an email containing a verification
+ link.
+
+ {{if ne .currentRealm.EmailVerifiedMode.String "required"}}
+ Skip for now
+ {{end}}
+
+
+
@@ -39,11 +52,11 @@
Email verification
let $verify = $('#verify');
let $skip = $('#skip');
- $(function () {
- $verify.on('click', function (event) {
+ $(function() {
+ $verify.on('click', function(event) {
let user = firebase.auth().currentUser
if (!user.emailVerified) {
- user.sendEmailVerification().then(function () {
+ user.sendEmailVerification().then(function() {
clearExistingFlash();
flash("Verification email sent.", "success");
$verify.prop('disabled', true);
@@ -52,7 +65,7 @@