aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api
diff options
context:
space:
mode:
authorDustin Willis Webber <dustin.webber@gmail.com>2015-04-16 14:42:24 -0400
committerDustin Willis Webber <dustin.webber@gmail.com>2015-04-16 14:42:24 -0400
commit5a4f314cf7465425bb2802bf9d2995c258af6697 (patch)
treecde9eb7578dad9d70c41007ba332abdb7d1156ea /routers/api
parente57594dc31fc42c1bb7ba0df77d1d4f249f8f079 (diff)
downloadgitea-5a4f314cf7465425bb2802bf9d2995c258af6697.tar.gz
gitea-5a4f314cf7465425bb2802bf9d2995c258af6697.zip
fix calls that go rename missed
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/v1/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo.go b/routers/api/v1/repo.go
index d7cc5955ab..4ec524b401 100644
--- a/routers/api/v1/repo.go
+++ b/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
}