Quellcode durchsuchen

fix calls that go rename missed

Dustin Willis Webber vor 10 Jahren
Ursprung
Commit
5a4f314cf7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
 	}