Add log line for failed authentication attempts

Resolves #1182
This commit is contained in:
Jim
2020-10-01 12:35:34 +01:00
committed by GitHub
parent 044edd9afa
commit 70d9ba6d09
+1
View File
@@ -196,6 +196,7 @@ module Postal
@credential.use
"235 Granted for #{@credential.server.organization.permalink}/#{@credential.server.permalink}"
else
log "\e[33m WARN: AUTH failure for #{@ip_address}\e[0m"
"535 Invalid credential"
end
end