Is there any way to know if a user has a password ...
# talk-kratos
b
Is there any way to know if a user has a password set? I created an identity without a password. Then I call the admin endpoint to get the identity information. I then triggered an account recovery and set a password. I then call the same admin endpoint to get the identity information. The only differences are the updated_at fields, but in the web frontentdin ory-network, they show that a password has been set.
b
You can add the include_credential parameter to the admin api call. Kratos will then return all credential data for that identity.
b
Worked perfectly. Thank you so much.