Parcourir la source

fix calls that go rename missed

Dustin Willis Webber il y a 10 ans
Parent
commit
5a4f314cf7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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
 	}