Skip to content

bug: empty passwords are allowed when creating a new user #1079

@AnonymousWP

Description

@AnonymousWP

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When creating a user (also on the on-boarding screen by the way), an empty password is allowed.

Expected Behavior

Empty passwords should not be allowed, and ideally there should be password requirements.

Steps To Reproduce

  1. Go to https://IP-address/default/admin_interface/#
  2. Add a user
  3. Don't enter a password
  4. Notice how the user is created
  5. Logging in doesn't work without a password. Therefore, the user can't login.

Environment

- reNgine: 2.0.1
- OS: Windows 10
- Python: 3.10
- Docker Engine: v24.0.6
- Docker Compose: v2.23.0
- Browser: Google Chrome 119.0.6045.160

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions