mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 19:27:59 +01:00
3a29a23cdc
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
356 B
Go
18 lines
356 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 was completely wrong
|
|
// So now we have to no-op again.
|
|
|
|
return nil
|
|
}
|