mirror of
https://github.com/swissmakers/wireguard-manager.git
synced 2026-04-21 11:43:20 +02:00
Minor Changes (#210)
This commit is contained in:
@@ -20,7 +20,7 @@ type SmtpMail struct {
|
||||
}
|
||||
|
||||
func authType(authType string) mail.AuthType {
|
||||
switch authType {
|
||||
switch strings.ToUpper(authType) {
|
||||
case "PLAIN":
|
||||
return mail.AuthPlain
|
||||
case "LOGIN":
|
||||
|
||||
Reference in New Issue
Block a user