Skip to content

Commit

Permalink
no support at this moment to use this and we should only consider imp…
Browse files Browse the repository at this point in the history
…lementing SkipVerify (waiting for markbates/goth#87)
  • Loading branch information
willemvd committed Jan 17, 2017
1 parent 8e1ea96 commit 6c98fa7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions models/login_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ func (source *LoginSource) UseTLS() bool {
return source.LDAP().SecurityProtocol != ldap.SecurityProtocolUnencrypted
case LoginSMTP:
return source.SMTP().TLS
case LoginOAuth2:
return true
}

return false
Expand Down

0 comments on commit 6c98fa7

Please sign in to comment.