Currently, user registration is disabled and only login is allowed. To enhance user management, implement a feature that allows the admin to add new users directly from the admin dashboard. This should include:
- An "Add User" button/section in the admin dashboard.
- A form for entering user details such as name, email, phone, and password.
- Option to assign roles (if any) to the user, defaulting to 'customer'.
- On submission, create the user in the backend and reflect it in the users list.
- Notify the admin of successful addition or any errors.
This feature should make user management more flexible for the admin while keeping customer self-registration disabled.
Currently, user registration is disabled and only login is allowed. To enhance user management, implement a feature that allows the admin to add new users directly from the admin dashboard. This should include:
This feature should make user management more flexible for the admin while keeping customer self-registration disabled.