Skip to content
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

create-user returns error #79

Open
Jordan8631 opened this issue Sep 9, 2024 · 1 comment
Open

create-user returns error #79

Jordan8631 opened this issue Sep 9, 2024 · 1 comment

Comments

@Jordan8631
Copy link

when running docker exec -it shotshare php artisan shotshare:create-user the input field doesn't ask for a handle i tried adding

            'handle' => text(
                'What is your username?',
                'John_Doe',
                required: true,
            ),

into app/Console/Commands/CreateUser.php which got rid of the error but would still not allow me to login.

root@AMP-Panel:/mnt/hdd# docker exec -it shotshare php artisan shotshare:create-user

┌ What is your name? ──────────────────────────────────────────┐
│ Jordan │
└──────────────────────────────────────────────────────────────┘

┌ What is your email? ─────────────────────────────────────────┐
jordan@epic.domain
└──────────────────────────────────────────────────────────────┘

┌ Enter Password ──────────────────────────────────────────────┐
│ ••••••••••• │
└──────────────────────────────────────────────────────────────┘

Illuminate\Database\QueryException
SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: users.handle (Connection: sqlite, SQL: insert into "users" ("name", "email", "password", "updated_at", "created_at") values (Jordan, jordan@epic.domain , blablahashypasswordthingblabla, 2024-09-09 03:14:32, 2024-09-09 03:14:32))

@Jordan8631
Copy link
Author

Also sorry if im not being much help im new to github and docker but i really like this program you have made and want to help improve it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant