resetPassword

fun resetPassword(    username: String,     callback: ResetPasswordCallback,     locale: String? = null)

Resets the user’s current password and sends an email to change the password to the email address specified during sign-up.

See also

Parameters

username

Username or email.

callback

Status callback.

locale

Defines localization of the email the user receives. The following languages are supported: Arabic (ar_AE), Bulgarian (bg_BG), Czech (cz_CZ), German (de_DE), Spanish (es_ES), French (fr_FR), Hebrew (he_IL), Italian (it_IT), Japanese (ja_JP), Korean (ko_KR), Polish (pl_PL), Portuguese (pt_BR), Romanian (ro_RO), Russian (ru_RU), Thai (th_TH), Turkish (tr_TR), Vietnamese (vi_VN), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), English (en_XX, default).

Sources

Link copied to clipboard