Marlin
Marlin•3w ago

Locked out of Windmill

Hi! We've been testing out Windmill for some time now. Today we were checking out how workspaces work and how we can give rights to users. Somehow we managed to lock ourselves out and we were logged out of our only superadmin account. Logging in again does not work as it's saying our credentials are invalid even though we know for sure they are correct. This happened when we removed users from a specific workspace, including the superadmin, and with that we lost complete access. Is there any way to restore this so we can access our scripts and flows again?
4 Replies
rubenf
rubenf•3w ago
a superadmin would not lose access to the system just by being removed from a workspace, and a superadmin can access all workspaces, even the ones that he isn't in
Marlin
MarlinOP•3w ago
Check, yeah that makes complete sense but something weird happened here. Will do some further tshoot for now. There were three people logged in and all of them seem to have lost access and cant login anymore using that account Only thing i can think of what might have happended is that i somehow removed the users from the instance instead of the workspace. Would that be possible and have similar effects as what we saw with the users? Then it will probably be a pain to get fixed, if it even can get fixed....
rubenf
rubenf•3w ago
insert this in the password table
email | password_hash | login_type | super_admin | verified | name | company | first_time_user | username
---------------------+---------------------------------------------------------------------------------------------------+------------+-------------+----------+------+---------+-----------------+----------
admin@windmill.dev | $argon2id$v=19$m=19456,t=2,p=1$suun5m8Coaqj6PJJmX3JPw$fITgxSQas8ocdupkdPXBvsiH5dyWNXvICpnA4sBVv70 | password | t | t | | | f | admin
email | password_hash | login_type | super_admin | verified | name | company | first_time_user | username
---------------------+---------------------------------------------------------------------------------------------------+------------+-------------+----------+------+---------+-----------------+----------
admin@windmill.dev | $argon2id$v=19$m=19456,t=2,p=1$suun5m8Coaqj6PJJmX3JPw$fITgxSQas8ocdupkdPXBvsiH5dyWNXvICpnA4sBVv70 | password | t | t | | | f | admin
or set one password to; $argon2id$v=19$m=19456,t=2,p=1$suun5m8Coaqj6PJJmX3JPw$fITgxSQas8ocdupkdPXBvsiH5dyWNXvICpnA4sB it's one hash for 'changeme'
Marlin
MarlinOP•3w ago
We are back in! Thanks so much 😄
No description