Skip to content

Cachet 3.x: php artisan cachet:make:user - does not grant admin rights #4530

@nicotillmann

Description

@nicotillmann

Hi James,

creating User on the cli works fine, but the choise "is the user an Admin" is ignored:

php artisan cachet:make:user

┌ What is the user's name?
│ dummy02
└───────────

┌ What is the user's email?
[email protected]
└────────────

┌ Is the user an admin?
│ Yes
└──────────

┌ What is the user's password?
│ •••••••
└──────────────

INFO User created successfully.

root@vm01:/var/www/servers/status.hfg.de/cachet# mysql -e "select * from status_hfg_de.users where id =6 \G"
*************************** 1. row ***************************
id: 6
name: dummy02
email: [email protected]
email_verified_at: NULL
password: $2y$12$psqwUen7p7TN4sqFAfhRAegujWn2n9JVNSC80EbMoQ9FGO13WSmge
remember_token: NULL
created_at: 2025-04-04 09:48:35
updated_at: 2025-04-04 09:48:35
is_admin: 0
preferred_locale: en

I think it's not urgent, beause setting is_admin=1 on Mysql CLI works (at least for me)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions