Skip to content

wheels reload bypasses reload password protection #2477

@zainforbjs

Description

@zainforbjs

Describe the bug
The wheels reload command successfully reloads the application even when a reload password is configured in the Wheels application settings.
If a reload password is set, the CLI should require the correct password before performing the reload operation.

Currently:

  • reload works without providing any password
  • reload also works when an incorrect password is provided
    This bypasses the intended reload protection mechanism.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a reload password in the Wheels application settings
  2. Start the application
  3. Run:
wheels reload
  1. Observe that the application reloads successfully without password validation

Expected behavior
If a reload password is configured:

  • wheels reload should require the password
  • reload should fail if:
    • no password is provided
    • an incorrect password is provided

Example expected behavior:

wheels reload
# Error: Reload password required

or

wheels reload password=wrongPassword
# Error: Invalid reload password

Actual behavior

  • Reload executes successfully without password validation
  • Password protection is effectively bypassed

Desktop
OS: Any
Wheels CLI Version: 4.0-SNAPSHOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions