diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2017-05-19 16:57:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 16:57:36 -0400 |
commit | 9eb9c115de3a70e26ebacc528a6e50e21e06e9c3 (patch) | |
tree | 32957199d18cb72fedb1983bc24e4b054a69e21c /utils/utils.go | |
parent | 04cd7b1a89f63f10265e0dcfc95b6f67f164cf75 (diff) | |
download | chat-9eb9c115de3a70e26ebacc528a6e50e21e06e9c3.tar.gz chat-9eb9c115de3a70e26ebacc528a6e50e21e06e9c3.tar.bz2 chat-9eb9c115de3a70e26ebacc528a6e50e21e06e9c3.zip |
Move SMTP HELO before authentication (#6464)
Diffstat (limited to 'utils/utils.go')
-rw-r--r-- | utils/utils.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/utils.go b/utils/utils.go index d158f540f..89ea4377e 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -68,7 +68,7 @@ func GetIpAddress(r *http.Request) string { return address } -func GetSiteName(siteURL string) string { +func GetHostnameFromSiteURL(siteURL string) string { u, err := url.Parse(siteURL) if err != nil { return "" |