mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-21 21:27:13 +00: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. |
||
---|---|---|
.. | ||
v1_20 | ||
v1_22 | ||
main_test.go | ||
migrate.go | ||
migrate_test.go | ||
v13.go | ||
v14.go | ||
v15.go | ||
v16.go | ||
v17.go | ||
v18.go | ||
v19.go | ||
v20.go | ||
v21.go | ||
v22.go |