mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-16 02:09:18 +08:00
08d5a836ef
Backport #18770 v208.go is seriously broken as it misses an ID() check. We need to no-op and remigrate all of the u2f keys. See #18756 Signed-off-by: Andrew Thornton <art27@cantab.net>
18 lines
351 B
Go
18 lines
351 B
Go
// Copyright 2022 The Gitea Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package migrations
|
|
|
|
import (
|
|
"xorm.io/xorm"
|
|
)
|
|
|
|
func increaseCredentialIDTo410(x *xorm.Engine) error {
|
|
// no-op
|
|
// V208 is badly broken
|
|
// So now we have to no-op again.
|
|
|
|
return nil
|
|
}
|