]> source.dussan.org Git - gitea.git/commitdiff
fix calls that go rename missed
authorDustin Willis Webber <dustin.webber@gmail.com>
Thu, 16 Apr 2015 18:42:24 +0000 (14:42 -0400)
committerDustin Willis Webber <dustin.webber@gmail.com>
Thu, 16 Apr 2015 18:42:24 +0000 (14:42 -0400)
routers/api/v1/repo.go

index d7cc5955ab8a4d4d038eccceaa59fb3d9985f954..4ec524b4011028d82694fbf5b400019af00e359f 100644 (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
        }