[GH-ISSUE #233] [Feature Request] Registration token #772

Closed
opened 2026-03-14 10:32:39 +03:00 by kerem · 1 comment
Owner

Originally created by @pacroix on GitHub (Dec 1, 2021).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/233

I'm self hosting the application and want to make it available to a few well trusted friends and family members.
Currently the only way to create new users is through the registration form, but I don't want to make it public because then everyone could create an account. Would it be possible to add a config entry with a string that you have to provide when registering, that you can share with people who should be allowed to register?

Originally created by @pacroix on GitHub (Dec 1, 2021). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/233 I'm self hosting the application and want to make it available to a few well trusted friends and family members. Currently the only way to create new users is through the registration form, but I don't want to make it public because then everyone could create an account. Would it be possible to add a config entry with a string that you have to provide when registering, that you can share with people who should be allowed to register?
kerem closed this issue 2026-03-14 10:32:44 +03:00
Author
Owner

@willbrowningme commented on GitHub (Dec 1, 2021):

There is already a command that allows you to create new users from the CLI.

php artisan anonaddy:create-user {username} {email}

e.g.

php artisan anonaddy:create-user johndoe john@doe.com

This will create a user with the password set as their user_id, they can then login and update their password.

So you can send them these details and tell them to reset their password when they first login.

<!-- gh-comment-id:983828798 --> @willbrowningme commented on GitHub (Dec 1, 2021): There is already a command that allows you to create new users from the CLI. ```bash php artisan anonaddy:create-user {username} {email} ``` e.g. ```bash php artisan anonaddy:create-user johndoe john@doe.com ``` This will create a user with the password set as their user_id, they can then login and update their password. So you can send them these details and tell them to reset their password when they first login.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#772
No description provided.