Changeset 11ba289 in Klonkt for src/views/pages/auth-login.ejs

Timestamp:
06/20/2026 01:20:57 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
6d882b1
Parents:
36afccd
Message:

fix(auth): Google login matches on linked google_sub first (not email)

An admin who linked their Google account to an account with a different
email address (e.g. demo-admin demo@… + roboburr@…) was
not recognized on Google login (lookup by email) → a new member account
was created instead. Now looks up google_sub first → logs in with the
proper (admin) role, regardless of email address. Falls back to email for
unlinked listeners.

Co-Authored-By: Claude <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.