Your Rocket.Chat version: 0.37.1
If i try to change the password for my test user i get the error "Removing the last Admin is not allowed"
Screenshot:

There are no errors in the server log..
Hey @TheReal1604 is the test user a adimin? and is the only user in the server?
@MartinSchoeler Nope and nope! :-P
I have several other accounts and 1 separate admin account, my testuser is not an admin.
I'm also having this issue. I have 3 users:
When I try to change any of marykate's credentials, it pops up with that error: "Removing the last Admin is not allowed"
The only workaround is to delete the user and add them again with the correct credentials.
Relevant commit? (19 days ago) https://github.com/RocketChat/Rocket.Chat/commit/03f3db2588fc914569f8e2c2200032d6e17694eb
Should this say
if adminCount is 1 and userData.role is 'admin'
with is admin instead of isnt admin?
Pinging in @timkinnane
How embarrassing 馃槤
Thanks for fixing my bad @sampaiodiego, @graywolf336, @engelgabriel
@graywolf336, @engelgabriel, @sampaiodiego Thanks for the really fast bugfix! Awesome.
Most helpful comment
How embarrassing 馃槤
Thanks for fixing my bad @sampaiodiego, @graywolf336, @engelgabriel