Following the instructions on https://docs.portainer.io/advanced/reset-admin we receive a panic.
What happens is in our database there is no user with ID 1 so we fall into the case of creating a new one.
However, on https://github.com/portainer/helper-reset-password/blob/master/cmd/helper-reset-password/main.go#L79 we try to get the password of a user that is nil, so it panics.
Following the instructions on https://docs.portainer.io/advanced/reset-admin we receive a panic.
What happens is in our database there is no user with ID 1 so we fall into the case of creating a new one.
However, on https://github.com/portainer/helper-reset-password/blob/master/cmd/helper-reset-password/main.go#L79 we try to get the password of a user that is nil, so it panics.