I am working on a Portainer deployment where the only local user is not an admin.
I have been using SSO to connect with a user with admin rights, but now OAuth is broken, and I want an admin to fix it.
Running:
docker run --rm -v portainer_data:/data portainer/helper-reset-password
Indeed, the script resets that password and returns the correct username of the single existing user, but the user is not an admin.
Is there a way to force the creation of an admin user?