webmaster e22d5b438f fix(auth): prevent login variable overwrite during failed cache cleanup
In the failed login cache cleanup loop, the tuple unpacking was using
`login` as the local variable name, silently overwriting the current
user's login with the one retrieved from the expired cache entry.

This caused subsequent backend authentication (e.g. IMAP) to be
attempted with the wrong username, resulting in spurious auth failures
for legitimate users whenever an expired failed-cache entry happened
to be present at the same time.

Rename the loop variable to `login_expired` to avoid shadowing the
outer `login` variable, and fix the associated debug log to reference
`login_expired` instead of the previously incorrect `login_cache`.

Fixes: intermittent authentication failures when _cache_failed contains
expired entries from previous failed login attempts by other users.

Signed-off-by: webmaster <webmaster@jbsky.fr>
2026-04-10 11:39:56 +02:00
2021-12-14 00:25:31 +01:00
2021-12-14 00:25:31 +01:00
2026-04-10 08:36:32 +02:00
2022-07-02 23:03:19 +02:00
2026-04-02 23:43:35 +02:00
2026-04-08 21:49:55 +02:00
2022-07-02 23:03:19 +02:00
2025-03-14 21:32:38 +01:00
2025-04-23 21:50:59 +02:00
2024-08-27 17:04:15 +02:00
2025-06-29 00:47:26 -06:00
2026-01-05 07:28:24 +01:00
2026-04-05 09:56:02 +02:00
2026-04-09 20:41:20 +02:00

Radicale

Test Coverage Status

Radicale is a small but powerful CalDAV (calendars, to-do lists) and CardDAV (contacts) server, that:

  • Shares calendars and contact lists through CalDAV, CardDAV and HTTP.
  • Supports events, todos, journal entries and business cards.
  • Works out-of-the-box, no complicated setup or configuration required.
  • Can limit access by authentication.
  • Can secure connections with TLS.
  • Works with many CalDAV and CardDAV clients
  • Stores all data on the file system in a simple folder structure.
  • Can be extended with plugins.
  • Is GPLv3-licensed free software.

For the complete documentation, please visit Radicale master Documentation.

Additional hints can be found

Before reporting an issue, please check

Description
No description provided
Readme 5.9 MiB
Languages
Python 87.4%
JavaScript 9.8%
HTML 1.1%
CSS 0.9%
Perl 0.8%