mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
4f15d87cbe
Pointing the instance at a different OIDC provider left two things from the old one on every account. The avatar kept a URL on a host this instance no longer talks to, so it rendered as a broken image and stayed that way: the sync only ran when the new provider sent a picture claim, and having no picture for a user is a perfectly normal answer. The account also stayed pinned to the old provider. Login still worked, because the verified-email lookup finds the row, but the relink sat behind a check for a missing sub, so oidc_sub and oidc_issuer never moved. The SSO note in settings went on naming a provider that was gone. An uploaded avatar is a bare filename rather than a URL and is left alone on both paths, exactly as before. Fixes #2110