Repository navigation
docs(passkey): say that an administrator's new password deletes the user's passkeys - #688
Merged
Merged
Conversation
…ser's passkeys The "Relation to the password" section of the 15.10 passkey page said that neither a user's own password change nor an administrator setting a new password deletes the registered passkeys. Since fess#3887, a new password set on the user edit screen or with PUT /api/admin/user/setting (also on an administrator's own account) deletes all passkeys of the user, with one DELETE_PASSKEY audit record each, while a user changing their own password on the Change Password page, with the forced password change at login or with POST /api/v2/auth/password keeps them. An edit without a new password, or one refused because the user was changed after it was read, keeps them too. Also document fess#3934: a passkey registration that completes in a session that a password change ends is refused with 401 and stores no passkey. Updated in all seven languages of the 15.10 page, with a short note in the "Administrator actions" section.
marevol
force-pushed
the
docs/passkey-admin-password-reset
branch
from
November 29, 2026 00:23
f2441fb to
373e30c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The "Relation to the password" section of the 15.10 passkey page (
config/security-passkey.rst) said that a password change, including an administrator setting a new password, does not delete the registered passkeys. That is no longer true since codelibs/fess#3887.This updates the section in all seven languages (en, ja, de, es, fr, ko, zh-cn):
/profile, the forced password change on the login form, orPOST /api/v2/auth/password) keeps their passkeys.passwordinPUT /api/admin/user/settingdeletes all passkeys of that user, also when an administrator edits their own account there. OneDELETE_PASSKEYaudit record is written per deleted passkey (already documented ininstall/security.rst).401, even when it started before the change, and no passkey is stored.The "Administrator actions" section gets one sentence saying that setting a new password for the user deletes all of their passkeys.
Only the 15.10 (development) pages are changed. No other 15.10 page repeated the old claim;
install/security.rstalready describes the deletion in theDELETE_PASSKEYrow.Verification
main:UserService#store(deletes passkeys after a successful conditional write when a new password is set on a stored user),UserService#changePassword(no passkey deletion),AdminUserAction/ApiAdminUserActionupdate (audit records), andPasskeyAccountHandlerregister/verify (401auth_requiredand removal of a just-stored passkey).