0ad/binaries/data
Dunedan 38e4cdc755
Fix password change for certain usernames
This fixes the ability for users with uppercase letters in their
username to change their passwords, which wasn't possible before on
non-Windows platforms. The underlying issue for that is
https://github.com/processone/ejabberd/issues/4377 and in addition some
inconsistent normalization of usernames in password change requests
by gloox. This commit works around that by always using the local JID
part as username for password requests, which got the nodeprep string
profile already applied.

It also fixes a problem that Windows users which were able to change
their passwords, weren't able to login afterwards anymore, unless they
typed their username in all lowercase in the login form. This was caused
by using the all lowercase username as input for the password hash
function, instead of using the username in the user supplied case.

Fixes #7796

(cherry picked from commit 638391d7ab)
Signed-off-by: Itms <itms@wildfiregames.com>
2025-06-19 16:53:33 +02:00
..
config Use MD5 hash for splash screen version check 2024-12-29 22:25:25 +01:00
l10n Update Transifex configurations for the new API using the tx migrate command specified on https://github.com/transifex/cli/releases 2023-04-27 13:06:30 +00:00
mods Fix password change for certain usernames 2025-06-19 16:53:33 +02:00
tests Allow to use a generator as MapGenerator 2024-05-22 15:52:12 +00:00
tools Update Atlas help links 2024-10-19 09:46:44 +02:00