mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-28 22:14:20 -04:00
fix calls that go rename missed
This commit is contained in:
parent
e57594dc31
commit
5a4f314cf7
@ -163,7 +163,7 @@ func MigrateRepo(ctx *middleware.Context, form auth.MigrateRepoForm) {
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !u.ValidtePassword(ctx.Query("password")) {
|
if !u.ValidatePassword(ctx.Query("password")) {
|
||||||
ctx.HandleAPI(422, "Username or password is not correct.")
|
ctx.HandleAPI(422, "Username or password is not correct.")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user