diff options
author | Dustin Willis Webber <dustin.webber@gmail.com> | 2015-04-16 14:42:24 -0400 |
---|---|---|
committer | Dustin Willis Webber <dustin.webber@gmail.com> | 2015-04-16 14:42:24 -0400 |
commit | 5a4f314cf7465425bb2802bf9d2995c258af6697 (patch) | |
tree | cde9eb7578dad9d70c41007ba332abdb7d1156ea /routers/api | |
parent | e57594dc31fc42c1bb7ba0df77d1d4f249f8f079 (diff) | |
download | gitea-5a4f314cf7465425bb2802bf9d2995c258af6697.tar.gz gitea-5a4f314cf7465425bb2802bf9d2995c258af6697.zip |
fix calls that go rename missed
Diffstat (limited to 'routers/api')
-rw-r--r-- | routers/api/v1/repo.go | 2 |
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 } |