Radicale login not case-sensitive but creates different accounts
-
Hi!
The Radicale login allows the login with username / password. However, it seems that the username is not case-sensitive when verifying whether it is a legitimate user. But upper and lower case is taken into account when it comes to the created account. So: I can register with Peter or with peter and both are accepted. But a separate Radicale account is then created for both Peter and peter and therefore also different calendars / address books. This probably can't be fixed because Cloudron doesn't take upper and lower case into account for usernames. It is only intended as information for all those who have also registered once with the ‘wrong’ name and then cannot find their calendars but have an empty account again... Maybe it is also an information that makes sense in the manual?
Best regards P.
-
oh! If this is an upstream issue it should be reported.
Thanks for reporting it here! -
Wait, no, this is no upstream issue.
Ah!
@staff we should set lc_username=trueСonvert username to lowercase, must be true for case-insensitive auth providers like ldap, kerberos
Сonvert username to uppercase, must be true for case-insensitive auth providers like ldap, kerberos
I will test
lc_username=true
and create PR if working as intended.
This is the fix.
Submitting a PR. -
Ah... perfect. That seems to be easier to fix than expected. Thanks!
-
N nebulon marked this topic as a question
-
N nebulon has marked this topic as solved
-
I'm really impressed how quickly you fix such insignificant little things! . Thanks a lot!