.. include:: /Includes.rst.txt .. _task-1791328838: =========================================================== Task: Let packages check the passwords of accounts they own =========================================================== Description =========== A package can now own the passwords of some accounts, such as a directory: it names the account for a login name of its own and checks the password there. The web login, the token grant, the code by e-mail and the confirmation of the current password ask it before any password stored in adsum, and throttling, blocks, the second factor and sessions stay as they are. Impact ====== When the system that owns an account cannot be reached, the login page says so and the API answers 503 ``/problems/directory-unavailable``; no stored password is tried instead. Such accounts cannot change or reset their password in adsum (409 ``/problems/password-managed-externally``). .. index:: API, package:adsum-core