You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enter in the empty link password field removes the password although Confirm is disabled #3876
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Pressing Enter in the empty "Edit password" field of a link removes the link password, although Confirm is disabled. Cause: SetLinkPasswordModal.vue emits confirm on Enter, and packages/web-runtime/src/components/ModalWrapper.vue (onModalConfirm) ignores modal.confirmDisabled.
Reproduction Steps
On an instance where link passwords aren't enforced (or as admin), open a password-protected link's ⋮ menu > Edit password.
Leave the field empty and press Enter.
Expected Outcome
Nothing happens, the same as with the disabled Confirm button.
Actual Outcome
The link is updated with an empty password, so the password is removed, with a "link updated" success message.
Activity