diff options
author | Joseph Crail <jbcrail@gmail.com> | 2014-12-06 20:22:48 -0500 |
---|---|---|
committer | Joseph Crail <jbcrail@gmail.com> | 2014-12-06 20:22:48 -0500 |
commit | 39c068400e9dd3a577580faa41e87140c2d2e499 (patch) | |
tree | 96f3d13fa2f884b845c7b1507c1de07927da1617 /models/login.go | |
parent | 47e7175b80d1f1bf05bd2da3a38c898596b12835 (diff) | |
download | gitea-39c068400e9dd3a577580faa41e87140c2d2e499.tar.gz gitea-39c068400e9dd3a577580faa41e87140c2d2e499.zip |
Fix spelling errors in comments.
Diffstat (limited to 'models/login.go')
-rw-r--r-- | models/login.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/login.go b/models/login.go index 3986353192..125e110a40 100644 --- a/models/login.go +++ b/models/login.go @@ -41,7 +41,7 @@ var LoginTypes = map[LoginType]string{ SMTP: "SMTP", } -// Ensure structs implmented interface. +// Ensure structs implemented interface. var ( _ core.Conversion = &LDAPConfig{} _ core.Conversion = &SMTPConfig{} @@ -226,7 +226,7 @@ func UserSignIn(uname, passwd string) (*User, error) { } } -// Query if name/passwd can login against the LDAP direcotry pool +// Query if name/passwd can login against the LDAP directory pool // Create a local user if success // Return the same LoginUserPlain semantic // FIXME: https://github.com/gogits/gogs/issues/672 @@ -318,7 +318,7 @@ func SmtpAuth(host string, port int, a smtp.Auth, useTls bool) error { return ErrUnsupportedLoginType } -// Query if name/passwd can login against the LDAP direcotry pool +// Query if name/passwd can login against the LDAP directory pool // Create a local user if success // Return the same LoginUserPlain semantic func LoginUserSMTPSource(u *User, name, passwd string, sourceId int64, cfg *SMTPConfig, autoRegister bool) (*User, error) { |