aboutsummaryrefslogtreecommitdiff
path: root/modules/auth/repo_form.go
diff options
context:
space:
mode:
authorleonklingele <git@leonklingele.de>2016-12-21 09:31:40 +0100
committer无闻 <u@gogs.io>2016-12-21 03:31:40 -0500
commitad6de46ce4cc207ec392abd85cf3fbcd53c61a33 (patch)
tree6230f96ff87d3d39260d2666696daca60f130e4b /modules/auth/repo_form.go
parent282f7fb8fa35c7c4df9e21c1a551219cce4cd6f8 (diff)
Fix typo: 'passowrd' -> 'password' (#3951)
Diffstat (limited to 'modules/auth/repo_form.go')
-rw-r--r--modules/auth/repo_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/repo_form.go b/modules/auth/repo_form.go
index d1e28dc1..958bce7d 100644
--- a/modules/auth/repo_form.go
+++ b/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) {