mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-13 22:29:33 +01:00
63736e8301
- For WebAuthn Credential level 3, the `backup_eligible` and `backup_state` flags are checked if they are consistent with the values given on login. Forgejo never stored this data, so add a database migration that makes all webauthn credentials 'legacy' and on the next first use capture the values of `backup_eligible` and `backup_state`. As suggested in https://github.com/go-webauthn/webauthn/discussions/219#discussioncomment-10429662 - Adds unit tests. - Add E2E test. |
||
---|---|---|
.. | ||
TestOrphanedOAuth2Applications | ||
access_token.go | ||
access_token_scope.go | ||
access_token_scope_test.go | ||
access_token_test.go | ||
auth_token.go | ||
main_test.go | ||
oauth2.go | ||
oauth2_list.go | ||
oauth2_test.go | ||
session.go | ||
session_test.go | ||
source.go | ||
source_test.go | ||
twofactor.go | ||
webauthn.go | ||
webauthn_test.go |