quickblox-android-sdk icon indicating copy to clipboard operation
quickblox-android-sdk copied to clipboard

Reset Password not working

Open sohaibkhaa opened this issue 6 years ago • 5 comments

Help avoid duplicate issue reports, check [existing issues](link to issues section of repo)

Environment details (Android, browser information, SDK version 3.9.2)

Did this work before? not

Expected behavior

Actual behavior

Logs https://gist.github.com/sohaibkhaa/a6071235b01cbcffc96de345139cf374

Steps to reproduce the behavior

Any others comments?

sohaibkhaa avatar Jun 05 '20 14:06 sohaibkhaa

To reset User's password you should use:

QBUsers.resetPassword(qbUser.getEmail()).performAsync(new QBEntityCallback<Void>() {
    @Override
    public void onSuccess(Void aVoid, Bundle bundle) {

    }

    @Override
    public void onError(QBResponseException e) {

    }
});

But make sure, that this User's e-mail is confirmed. E-mail confirmation is needed to be enabled previously in the QuickBlox Dashboard. Users -> Settings - [V] Require email confirmation (for application users)

Other Reset password template notes you may find in QuickBlox Dashboard. Users -> Email notifications

alexparvus1 avatar Jun 10 '20 00:06 alexparvus1

To reset User's password you should use:

QBUsers.resetPassword(qbUser.getEmail()).performAsync(new QBEntityCallback<Void>() {
    @Override
    public void onSuccess(Void aVoid, Bundle bundle) {

    }

    @Override
    public void onError(QBResponseException e) {

    }
});

But make sure, that this User's e-mail is confirmed. E-mail confirmation is needed to be enabled previously in the QuickBlox Dashboard. Users -> Settings - [V] Require email confirmation (for application users)

Other Reset password template notes you may find in QuickBlox Dashboard. Users -> Email notifications

i have enabled that option but now when i log in it's giving error that email not confirmed. How to confirm email now? i have searched but nothing not even in quickblox documentation

sohaibkhaa avatar Jun 10 '20 08:06 sohaibkhaa

@sohaibkhaa you should create new user, or enter e-mail for your user, and then confirm it

alexparvus1 avatar Jun 30 '20 17:06 alexparvus1

@sohaibkhaa you should create new user, or enter e-mail for your user, and then confirm it

Sir i have created new user but still not getting confirmation email.. is there any specific method to send confirmation email or quickblox automatically sends it?

sohaibkhaa avatar Jul 18 '20 13:07 sohaibkhaa

@sohaibkhaa Hello,

This is Nikolay from QuickBlox support.

We are sorry for the delayed reply.

Unfortunately, email notifications are disabled on the Cloud server.

You may use such functionality with our Enterprise plans.

If you are interested in it, please contact sales.

ghost avatar Oct 04 '21 14:10 ghost