-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI command to create_user fails - password_hash is required #180
Comments
My apologies if I'm doing this wrong (new to github), but I made a pull request to update the CreateUser file. Let me know any issues... |
I couldn't recreate this in the latest dev branch.
|
Can you tell me what's happening with the password field in your scenario? |
I just ran through a fresh install, following these steps below... same issue. I'm not discounting that this may be my fault in some way, but I don't see it yet. Please let me know if I'm missing something. d:\xampp\htdocs>composer create-project codeigniter4/appstarter CI4 -s rc Running all new migrations... d:\xampp\htdocs\CI4>php spark auth:publish CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-07 09:03:31am Publish Migration? [y, n]: y d:\xampp\htdocs\CI4>php spark auth:create_user CodeIgniter CLI Tool - Version 4.0.2 - Server-Time: 2020-04-07 09:03:53am Username: admin |
As I said, please use the latest dev version. In your "myth/auth": "dev-develop" I also strongly advise you not to use: "minimum-stability": "dev" ...unless you're just checking out the project. |
Well it's interesting to me that this worked... I'm new to composer/github, and I had assumed this would install the latest: Thanks for your help |
It looks like the CLI method to create a user doesn't work, as the password_hash field is required. Here's a copy/paste of what I'm seeing:
The text was updated successfully, but these errors were encountered: