瀏覽代碼

Fix typo: 'passowrd' -> 'password' (#3951)

leonklingele 8 年之前
父節點
當前提交
ad6de46ce4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/auth/repo_form.go

+ 1 - 1
modules/auth/repo_form.go

@@ -53,7 +53,7 @@ func (f *MigrateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
 }
 
 // ParseRemoteAddr checks if given remote address is valid,
-// and returns composed URL with needed username and passowrd.
+// and returns composed URL with needed username and password.
 // It also checks if given user has permission when remote address
 // is actually a local path.
 func (f MigrateRepoForm) ParseRemoteAddr(user *models.User) (string, error) {