Open eduardomart opened 3 years ago
@bobdenotter can I work on this? I have in mind that if a user is being created from the CLI, we can check to see if there's any user with the id 1 and if not we set the current user's id to 1 and then persist. Or recursively shift the ids of existing users so that their ids should start from 1 and so on. Please advise.
Bolt v4.1
I forgot the password to my user, so I went to the cli and the only options are: add, delete, list, so I deleted the user, and created a new one. However once I try to login with the new user, I see this:
Similar issue in 5.0 cli for 5.0 does have a reset-password option, however if you actually delete the username with ID=1 and create a new one, the same message in the screenshot above will appear as well
I think that Bolt wants a user to have an ID of 1, which can only be changed by editing the database. After editing the ID of the username to 1 does cause Bolt to log in normally.