From: Dustin Willis Webber Date: Thu, 16 Apr 2015 18:42:24 +0000 (-0400) Subject: fix calls that go rename missed X-Git-Tag: v0.9.99~1397^2~3^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a4f314cf7465425bb2802bf9d2995c258af6697;p=gitea.git fix calls that go rename missed --- diff --git a/routers/api/v1/repo.go b/routers/api/v1/repo.go index d7cc5955ab..4ec524b401 100644 --- a/routers/api/v1/repo.go +++ b/routers/api/v1/repo.go @@ -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 }