Start a new topic
Answered

emailVerify doesn't work

Hello everyone!!

I'm developping an App on NodeJS, I tried to add email verification option to my App but it shows the error "user.emailVerify is not a function".
Here is the code :

mail_verification:function(){
      var userData = JSON.parse($window.localStorage.getItem('newUser'));
      //var activeUser = $kinvey.User.getActiveUser();
      var user = new $kinvey.User(userData);
      user.verifyEmail().then(function(response) {
            
              }).catch(function(error) {

              });
    },



Best Answer
Braiek,

Glad it is working for you. Thanks for the update.

Thanks,
Pranav


 


It's working now Thank you for fixing the issue 

Answer
Braiek,

Glad it is working for you. Thanks for the update.

Thanks,
Pranav


 

Login or Signup to post a comment