How can I check if user has set password?
I sent many emails to newly registered users to either set their password (if they haven't provided it in our registration form) or only verify their email.
An issue happened with our email service provider and some of the emails were not sent and now I have to check if users already have a password (to only send them a verification email) or if they still haven't set their password (to send them a password set email).
I checked the value of "passwordChangeRequired" field of the users and none of them were true, which I believe it has to be for users who have been sent a password set email but they still haven't set it. Because it is required for them to change their password anyway, otherwise they wouldn't be able to login.
Can anyone help me with this issue?
FusionAuth version: 1.27.2
dan last edited by
You could look at the password last update timestamp (
passwordLastUpdateInstant) which is an attribute on the user.
See if there's been any change since the initial email send (or since the issue). If there had been no change, you should be able to resend the email.