Skip to content

[Bug] Password checkbox unchecks after error message #57732

Description

@luka-nextcloud

When creating a public share link for a file or folder, the "Password protection" checkbox is unchecked if submit with non-compliant password

Steps to reproduce

  1. Enable password_policy app
  2. Enable any policy in "Administration settings > Security > Password policy > General password policies"
  3. Enable "Always as for a password" in "Administration settings > Sharing > Allow users to share via link and emails"
  4. Go to Files app and create public share link for a file or folder
  5. Enter a non-compliant password (except the length)
  6. Submit

Expected behaviour

The error password is shown up, the "Password protection" still checked and the input password not cleared.

Actual behaviour

The error password is shown up, the "Password protection" unchecked and the input password field cleared.

Activity

  1. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Jan 14, 2026
  2. added theissue type on Jan 22, 2026
  3. susnux commented on Jan 22, 2026

    @susnux
    Contributor

    This needs to be fixed in the files_sharing frontend

  4. added 3 commits that reference this issue on Feb 10, 2026
    7660616
    b964fd7
    4bf7be8
  5. added 2 commits that reference this issue on Mar 19, 2026
    d31b7eb
    0cb96fb
  6. moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 📝 Productivity teamon Mar 19, 2026
  7. added a commit that references this issue on Mar 19, 2026
    bcfe4d4
  8. added 2 commits that reference this issue on Mar 23, 2026
    5ca3976
    921fc13
  9. added a commit that references this issue on Mar 24, 2026
    11fb0de
  10. added a commit that references this issue on Mar 25, 2026
    56fdf0e
  11. added a commit that references this issue on Mar 25, 2026
    149ad62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap33-feedbackbug

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions