mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The audit log records *how* each login happened in the action name (`auth.login.passkey`, `auth.bearer.success`, …) but the table collapsed all of that into a single Aktion label. Admins now see the credential type as a separate column with a lucide glyph (KeyRound / Fingerprint / Cpu / Globe) so password-vs-passkey-vs-API token attempts are distinguishable at a glance — and the column maps cleanly into the CSV export. The mapping itself (`providerForAction`) lives in `_shared.tsx` alongside `useAuthActionLabels` so any later audit-feed consumer picks up the same i18n + icon contract; a regression test pins every action → provider edge and every provider → icon edge.