Accounts.setPassword does not work [SOLVED]


I am trying to change the password for a user on the server, but after calling Accounts.setPassword(userID, 'newPassword') the record in mongodb changes, yet the password stays the same. How is this supposed to work?

UPDATE: I should log off. I was changing the passwords on a different server …