Explorar o código

fix calls that go rename missed

Dustin Willis Webber %!s(int64=10) %!d(string=hai) anos
pai
achega
5a4f314cf7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 	}