0ad/source
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
..
collada Update trac links with gitea links 2024-12-10 11:29:48 +01:00
graphics Fixes runtime switch of the GPU skinning. 2025-05-01 08:56:56 +02:00
gui Stop running shrinking gcs & simplify GC logic. 2025-05-15 13:49:41 +02:00
i18n Update trac links with gitea links 2024-12-10 11:29:48 +01:00
lib Sign and notarize macOS bundles 2025-01-03 22:51:17 +01:00
lobby Fix password change for certain usernames 2025-06-19 16:53:33 +02:00
maths Update trac links with gitea links 2024-12-10 11:29:48 +01:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Stop running shrinking gcs & simplify GC logic. 2025-05-15 13:49:41 +02:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Stop running shrinking gcs & simplify GC logic. 2025-05-15 13:49:41 +02:00
renderer Fixes runtime switch of the GPU skinning. 2025-05-01 08:56:56 +02:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Skip redundant HasProperty in GetObjectClassName 2025-05-15 13:59:21 +02:00
simulation2 Fix no-pch build following #7829 2025-05-15 22:29:09 +02:00
soundmanager Fix sounds playing in the wrong places of the map 2025-01-04 23:18:46 +01:00
third_party Ignore cast warning in mongoose 2024-12-05 09:51:27 +01:00
tools Catch all std::exception from a map in atlas 2025-05-15 13:48:54 +02:00
main.cpp Catch all std::exception when loading a map 2025-01-01 22:23:38 +01:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00