Fix formatting

This commit is contained in:
Bernhard Froehlich
2019-02-21 08:27:12 +00:00
parent 6270d75571
commit d11f8d81ea
3 changed files with 25 additions and 26 deletions

View File

@@ -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")
}