The creation of a new user from CLI gives administration power even if the is_admin=false parameter is used #1

Closed
opened 2023-05-15 13:57:13 +02:00 by spla · 1 comment
Owner
php artisan user:create --name=whatever --username=whatever --email=whatever@example.org --password=password --is_admin=false --confirm_email=true
``` php artisan user:create --name=whatever --username=whatever --email=whatever@example.org --password=password --is_admin=false --confirm_email=true
spla added the
bug
label 2023-05-15 13:57:57 +02:00
spla self-assigned this 2023-05-15 13:58:04 +02:00
Author
Owner

If is_admin param is not passed it works as expected, new user is a regular user.
In example:

php artisan user:create --name=whatever1 --username=whatever1 --email=whatever1@example.org --password=password --confirm_email=true
If `is_admin` param is not passed it works as expected, new user is a regular user. In example: ``` php artisan user:create --name=whatever1 --username=whatever1 --email=whatever1@example.org --password=password --confirm_email=true
spla referenced this issue from a commit 2023-05-15 16:19:48 +02:00
spla closed this issue 2023-05-15 16:19:48 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: spla/pixcat#1
No description provided.