forgejo/templates/mail/auth
Gusted df5d656827
Some checks are pending
/ release (push) Waiting to run
testing / backend-checks (push) Has been skipped
testing / frontend-checks (push) Has been skipped
testing / test-unit (push) Has been skipped
testing / test-e2e (push) Has been skipped
testing / test-mysql (push) Has been skipped
testing / test-pgsql (push) Has been skipped
testing / test-sqlite (push) Has been skipped
testing / test-remote-cacher (redis) (push) Has been skipped
testing / test-remote-cacher (valkey) (push) Has been skipped
testing / test-remote-cacher (garnet) (push) Has been skipped
testing / test-remote-cacher (redict) (push) Has been skipped
testing / security-check (push) Has been skipped
feat: consider WebAuthn & SSH for instance signing (#7693)
- Currently the options `pubkey` and `twofa` only consider TOTP and GPG keys respectively. Adjust the code to also consider WebAuthn credentials and SSH keys.
- While adding the new unified functions I noticed that certain places also benefited from using these unified functions and took the liberty (where it was either a trivial translation or it was covered under testing) to use the new unified functions.
- Resolves forgejo/forgejo#7658
- Adds unit and integration tests.

Documentation PR: https://codeberg.org/forgejo/docs/pulls/1166

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7693
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-04-29 10:34:07 +00:00
..
2fa_disabled.tmpl [SECURITY] Notify users about account security changes 2024-07-23 18:31:47 +02:00
activate.tmpl Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
activate_email.tmpl Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
password_change.tmpl [SECURITY] Notify users about account security changes 2024-07-23 18:31:47 +02:00
primary_mail_change.tmpl [SECURITY] Notify users about account security changes 2024-07-23 18:31:47 +02:00
register_notify.tmpl Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
removed_security_key.tmpl feat: consider WebAuthn & SSH for instance signing (#7693) 2025-04-29 10:34:07 +00:00
reset_passwd.tmpl Remove title from email heads (#3810) 2024-05-17 10:10:33 +00:00
totp_enrolled.tmpl [SEC] Notify owner about TOTP enrollment 2024-07-26 19:49:22 +02:00