Issues/2659: Fix password comparison.#2660
Conversation
|
Please explain how this fixes the issue, it isn't clear to me. |
|
I have already described problem #2659 . I used the CrazyLogin plugin, which hashes passwords using the CRAZYCRYPT1 algorithm, which in turn uses the user's nickname as a salt. Because of this, the same password will have a different hash if the user uses his nickname in different registers. For example, my nickname is Freeman, and my password is TEST_TEST. Since the hashes do not match, after converting the database from CrazyLogin to AuthMeReloaded, my password is always incorrect. I removed the conversion to lowercase and now this fix works well on my server. |
|
Thanks for the background. But this change breaks all other EncryptionMethod classes that rely on the passed in username being lowercase |
Hello. This fixes #2659 . I don't know Java well, so maybe I did something wrong.