Last Update: Jul 16, 2024
Overview
There is a custom database with import mode disabled, and it is noticed that users are able to change their password if they enter their email, but there seems to not be a way to have them use their Username in the script.
According to Change Password Script Templates Documentation, the function is always passing an email address and never a “username”.
changePassword(email, newPassword, callback): function
This article clarifies whether it is possible to get the “username” in this script if it is not passed to the changePassword function.
Applies To
- Custom Database (DB)
Solution
This is now supported as of the release of improvements for Flexible identifiers: