EasyAuth icon indicating copy to clipboard operation
EasyAuth copied to clipboard

[BUG] /auth update command does not actually change player password

Open ShadylHl opened this issue 4 months ago • 1 comments

Versions Server : fabric-server-mc.1.21.1-loader.0.17.3-launcher.1.1.0.jar

  • easyauth-mc1.21-3.3.6.jar *
  • fabric-api-0.116.6+1.21.1.jar *

Describe the bug The /auth update command reports success in chat, but the password does not actually change. Even after restarting the server or reloading EasyAuth, I can still only log in with the original password.

To Reproduce Steps to reproduce the behavior: 1、Log in with an offline account that has the same name as my premium account. 2、Register a new password in-game: /register 1234 1234
3、Give this account OP privileges from the server console. 4、Run the following command in-game: /auth update <my_username> novell
The game shows “password updated successfully”. 5、Run /auth reload or even restart the server. 6、Try logging in again — the new password doesn’t work; only the original (1234) works.

Expected behavior After running /auth update <new_password>, I should be able to log in with the new password, and the old one should no longer work.

Additional context Before reproducing this issue, I did the following cleanup steps:

  • Deleted world save folder
  • Deleted easyauth.db
  • Deleted config/EasyAuth/ folder
  • Cleared usercache.json and ops.json
  • Set online-mode=false in server.properties

Then I edited config/EasyAuth/main.conf with only two changes:

  • premium-auto-login=false
  • offline-by-default=true

After that, the issue persists.

When checking with /auth getPlayerInfo , the passwd hash changes after each update command, but login still requires the original password. data_version=1.

ShadylHl avatar Oct 11 '25 14:10 ShadylHl