mirror of https://github.com/gogs/gogs.git
Fix typo: 'passowrd' -> 'password' (#3951)
parent
282f7fb8fa
commit
ad6de46ce4
|
@ -53,7 +53,7 @@ func (f *MigrateRepoForm) Validate(ctx *macaron.Context, errs binding.Errors) bi
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParseRemoteAddr checks if given remote address is valid,
|
// 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
|
// It also checks if given user has permission when remote address
|
||||||
// is actually a local path.
|
// is actually a local path.
|
||||||
func (f MigrateRepoForm) ParseRemoteAddr(user *models.User) (string, error) {
|
func (f MigrateRepoForm) ParseRemoteAddr(user *models.User) (string, error) {
|
||||||
|
|
Loading…
Reference in New Issue