aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v145.go
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-07-30 14:25:26 +0100
committerGitHub <noreply@github.com>2022-07-30 15:25:26 +0200
commite819da083734ddbf30afbc62afd48e9d0e8f3d48 (patch)
tree3d33258ef9c94fbe04502d51d2795056bbd1b87c /models/migrations/v145.go
parent692707f14519b677de4601e5f40469989f82eed6 (diff)
downloadgitea-e819da083734ddbf30afbc62afd48e9d0e8f3d48.tar.gz
gitea-e819da083734ddbf30afbc62afd48e9d0e8f3d48.zip
WebAuthn CredentialID field needs to be increased in size (#20530)
WebAuthn have updated their specification to set the maximum size of the CredentialID to 1023 bytes. This is somewhat larger than our current size and therefore we need to migrate. The PR changes the struct to add CredentialIDBytes and migrates the CredentialID string to the bytes field before another migration drops the old CredentialID field. Another migration renames this field back. Fix #20457 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'models/migrations/v145.go')
0 files changed, 0 insertions, 0 deletions