vikunja/pkg/modules
kolaente 783c0dd52a refactor(auth): make OIDC email-only fallback explicit instead of an empty-username sentinel
The fallback block only runs when EmailFallback || UsernameFallback, so when
UsernameFallback is off the else branch (previously an empty-username candidate)
is the email-only lookup path: it must still run one GetUserWithEmail to link an
existing local user by email. Removing it entirely would skip that lookup and
create a duplicate user for the emailfallback-only config.

Replace the empty-string sentinel with an explicit []*user.User candidate list
built in a small helper, keeping the same behavior, and assert no duplicate is
created in the email-only fallback test.
2026-06-19 19:38:10 +02:00
..
auth refactor(auth): make OIDC email-only fallback explicit instead of an empty-username sentinel 2026-06-19 19:38:10 +02:00
avatar fix(api/v2): reject non-decodable images (e.g. SVG) on avatar upload with 400 2026-06-02 11:55:25 +00:00
background refactor(background): extract download + unsplash-proxy logic for reuse 2026-06-17 11:31:50 +00:00
dump chore(lint): suppress known gosec false positives 2026-03-23 16:23:15 +01:00
humaecho5 feat: vendor humaecho adapter for echo/v5 2026-05-31 12:56:57 +00:00
keyvalue fix(keyvalue): treat undecodable cached values as a cache miss 2026-05-30 13:48:01 +00:00
migration refactor(migration): extract file/CSV migrate orchestration into shared funcs 2026-06-12 08:51:19 +00:00