0ad/source/lobby
Dunedan 638391d7ab
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
2025-05-19 17:05:41 +02:00
..
scripting Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
Globals.cpp Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
IXmppClient.h Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
StanzaExtensions.cpp Always use STUN for hosting games using the lobby 2025-01-20 06:52:14 +01:00
StanzaExtensions.h Always use STUN for hosting games using the lobby 2025-01-20 06:52:14 +01:00
XmppClient.cpp Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
XmppClient.h Fix password change for certain usernames 2025-05-19 17:05:41 +02:00