Browse Source

fix calls that go rename missed

Dustin Willis Webber 10 years ago
parent
commit
5a4f314cf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      routers/api/v1/repo.go

+ 1 - 1
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
 	}