You are viewing limited content. For full access, please sign in.

Question

Question

ForcePasswordChange property of LF User

asked on August 13, 2015

I am trying to implement, forgot password feature using LF API.

 

On receiving temporary password, I want to set forcedPasswordChange property of LFUser to be true i.e. The checkbox User must change password at next login should be checked.

I have managed to do this, but problem is When ever i try to read this property on next login, it always returns false, though it should return true. I verified in admin console and I can see that check box checked.

am I missing anything?Do I need to set any other property along with this?

Please suggest.

 

Thanks

Sanjay C

 

 

0 0

Replies

replied on August 20, 2015

If I understand your question correctly, you are writing a script for a "forgot password" feature. The script needs to set PasswordExpirationExempt = false, and ForcePasswordChange = true. Whenever a user clicks the "Forgot Password" link, and starts that process, the script needs to set the password to be expired, and generate a temp password. The next time the user logs in using the temp password, it can force password change.  

 

2 0
You are not allowed to follow up in this post.

Sign in to reply to this post.