Skip to content

MIN_PASSWORD_LENGTH ignored when changing the password in user settings #3036

Closed
@jhasse

Description

@jhasse
  • Gitea version (or commit ref): 1.2.3
  • Database (use [x]):
    • PostgreSQL
      MySQL
      MSSQL
      SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes
      No
      Not relevant

Description

The MIN_PASSWORD_LENGTH configuration added in #223 is only checked when signing up or when resetting the password via email. When changing the password in the settings (e.g. https://try.gitea.io/user/settings/security) one can enter a password with any length.

Activity

added this to the 1.4.0 milestone on Nov 30, 2017
jhasse

jhasse commented on Dec 5, 2017

@jhasse
Author

Wow that was pretty fast. Thank you very much :)

locked and limited conversation to collaborators on Nov 23, 2020
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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @jhasse@lunny

      Issue actions

        MIN_PASSWORD_LENGTH ignored when changing the password in user settings · Issue #3036 · go-gitea/gitea