0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 16:31:41 +01:00

fix calls that go rename missed

This commit is contained in:
Dustin Willis Webber 2015-04-16 14:42:24 -04:00
parent e57594dc31
commit 5a4f314cf7

View file

@ -163,7 +163,7 @@ func MigrateRepo(ctx *middleware.Context, form auth.MigrateRepoForm) {
}
return
}
if !u.ValidtePassword(ctx.Query("password")) {
if !u.ValidatePassword(ctx.Query("password")) {
ctx.HandleAPI(422, "Username or password is not correct.")
return
}