Force password reset on next login when change password through API
Description
In #13691 (closed) password reset by admin from Admin Panel will cause a force password reset on next login, but if admins change user's password through GitLab API, users will not need to reset their password.
Proposal
If user's password has been change by API, he also need to set a new password on next login.