.. include:: /Includes.rst.txt .. _feature-1791189197: ================================== Feature: Require a password change ================================== Description =========== HR and admins require a user to set a new password at the next login with ``requireUserPasswordChange``, and the maximum password age of the company requires it as well. Until the new password is set, every page leads to ``/account/password`` and the API answers 403 with ``/problems/password-change-required``; the current user, the password change itself and the logout stay open. ``getCurrentUser`` tells whether the change is required. The requirement ends with the change, so the change page does not come back. Impact ====== New column ``app_user.password_change_required``. .. index:: API, Database, package:adsum-core