mirror of
https://github.com/anonaddy/anonaddy.git
synced 2026-04-25 14:15:53 +03:00
[GH-ISSUE #55] Ability to create a user through artisan #95
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anonaddy#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crazy-max on GitHub (Jul 22, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/55
Hi @willbrowningme,
It would be nice to allow creation of user through artisan with something like:
This way we could remove the static
DatabaseSeeder.phpfor our Docker image and let the user decide its credentials.@willbrowningme commented on GitHub (Jul 29, 2020):
Hi, I'm not too familiar with the docker image but is there any reason why you cannot just use the /register page to register the initial user account?
@crazy-max commented on GitHub (Jul 29, 2020):
Hi @willbrowningme,
Yes we could do that but how can we create an admin user?
@willbrowningme commented on GitHub (Jul 31, 2020):
There isn't really an admin user as such, you would just need to register a user normally and then add this to your
.envfile.ANONADDY_ADMIN_USERNAME=johndoeThen it will allow the default yourdomain.com to behave as a catch-all.
Then you can disable registration for anyone else by adding
ANONADDY_ENABLE_REGISTRATION=falseto your
.envfile and refreshing the cache (php artisan config:cache).@crazy-max commented on GitHub (Aug 1, 2020):
@willbrowningme Ok sounds good to me, I will add a note about that for the Docker image.