+ Start a Discussion

Is System.setPassword() working as advertised?

I have a piece of code that uses System.setPassword() to set a password for a user.  The method works, however upon first login as the user I am presented with the standard 'Change your password' form.  If I click 'Cancel' I am able to get in, however the form appears every at every login attempt.  Is there any way to prevent this form from appearing?


According the docs, the behavior you are seeing isn't correct. I would open a case with support.