Healthlane-Technologies/Zango

``start-project`` command : Allow user to re-input platform user details incase of user creation failure

Closed this issue · 0 comments

Zelthy Version: 0.1.2

Bug Description

During the execution of the start-project command, users are prompted to input the platform user and password, which are used for logging into the app panel. If the creation of the platform user fails due to any reason, the command exits, displaying an error message. Consequently, while the project setup is completed, the platform user is not created. This leads to login issues in the App Panel.

To fix this issue, users should be prompted to re-enter the correct platform user details again if the user creation fails. Upon successful creation of the platform user, the command should exit gracefully.

Steps to Reproduce

  1. Execute the zelthy3 start-project command.
  2. Provide the database details, Redis, etc.
  3. While entering the platform user details, provide the password in the wrong format (for example, provide only a numeric password).
  4. An error will be displayed, indicating that user creation failed, and the command will exit.