0ad/binaries/data/mods
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
..
_test.dae/art
_test.gui/gui Remove unnecessary executable bits 2024-08-26 07:46:34 +02:00
_test.minimal
_test.scriptinterface/promises Log rejected promises 2024-07-22 08:40:33 +00:00
_test.sim Mod Interface: Enable setting territory visibility 2025-01-01 22:20:03 +01:00
_test.tex/art/textures
_test.xero
mod Improve colormixer layout 2025-01-12 01:21:29 +01:00
public Fix password change for certain usernames 2025-06-19 16:53:33 +02:00