1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00
Files
Marcos Guillermo eb0b2f5d9b cmd/incus-user: Don't reset setup if user has access
Currently, incus-user might reset a user's setup if the project name
doesn't match the expected format. This change checks if the user
already has a valid certificate and access to at least one project
before attempting a reset.

Fixes #2524

Signed-off-by: Marcos Guillermo <marcos.cosson@ccc.ufcg.edu.br>

cmd/incus-user: Don't reset setup if user has access

Currently, incus-user might reset a user's setup if the project name
doesn't match the expected format. This change checks if the user
already has a valid certificate and access to at least one project
before attempting a reset.

Fixes #2524

Signed-off-by: Marcos Guillermo <marcos.cosson@ccc.ufcg.edu.br>
2025-12-22 16:40:22 -03:00
..