.. include:: /Includes.rst.txt .. _security-1791186895: =========================================== Security: One password policy on every path =========================================== Description =========== Accepting an invitation, confirming a reset and changing one's password now apply the same rules, those of the person's companies: the minimum length in code points, no breached password, none of the person's name or login parts of three or more characters, and none of their recent passwords where the company keeps a history. A refused password is reported on ``newPassword`` with the codes ``tooShort``, ``tooLong``, ``containsUserData``, ``reused`` or ``breached``. Before, accepting an invitation checked nothing. Impact ====== New table ``password_history`` and column ``app_user.password_changed_at``. The violation codes of a refused password change from the generic validator codes to the ones above. .. index:: API, Database, package:adsum-core