0ad/source
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
..
collada Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
graphics Fix bold and italic fonts 2025-05-18 18:41:25 +02:00
gui Use freetype for font rendering 2025-05-16 14:57:59 -05:00
i18n Get config values without using return parameters 2025-04-09 12:51:21 +02:00
lib Adds 64bits support. 2025-04-26 20:53:09 +02:00
lobby Fix password change for certain usernames 2025-05-19 17:05:41 +02:00
maths Tell GCC the maximum value of m_BufLen 2025-01-13 20:05:43 +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-04-22 17:03:29 +02:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Don't store consecutive console commands twice 2025-05-16 17:38:41 +02:00
renderer Use freetype for font rendering 2025-05-16 14:57:59 -05:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Skip redundant HasProperty in GetObjectClassName 2025-05-10 17:08:49 +02:00
simulation2 Fix no-pch build following #7829 2025-05-11 11:24:50 +02:00
soundmanager Fix a bunch of spelling mistakes 2025-04-11 06:24:32 +02:00
third_party Disable deprecation warning for old boost 2025-03-23 14:38:43 +01:00
tools Allow no files for copyright checks 2025-05-18 20:18:08 +02:00
main.cpp Adds fixed frame frequency. 2025-04-25 19:15:57 +02:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00