mirror of
https://github.com/decke/smtprelay.git
synced 2025-12-25 18:22:28 -07:00
Fix formatting
This commit is contained in:
3
auth.go
3
auth.go
@@ -29,7 +29,7 @@ func AuthReady() bool {
|
||||
}
|
||||
|
||||
func AuthFetch(username string) (string, string, error) {
|
||||
if ! AuthReady() {
|
||||
if !AuthReady() {
|
||||
return "", "", errors.New("Authentication file not specified. Call LoadFile() first")
|
||||
}
|
||||
|
||||
@@ -65,4 +65,3 @@ func AuthCheckPassword(username string, secret string) error {
|
||||
}
|
||||
return errors.New("Password invalid")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user