summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/transport
diff options
context:
space:
mode:
authorPaul Martin <paul@paulsputer.com>2015-10-25 16:12:32 +0000
committerPaul Martin <paul@paulsputer.com>2015-10-25 16:12:32 +0000
commit0d7c650b3b59d8a7bbc47135975f040c832e04c0 (patch)
tree4b27ccafc33a23e2f5decf60d664b3ec8ce03889 /src/main/java/com/gitblit/transport
parenta3a18a0ebfeb65777ad5bd065e26fa9c00e8100c (diff)
downloadgitblit-0d7c650b3b59d8a7bbc47135975f040c832e04c0.tar.gz
gitblit-0d7c650b3b59d8a7bbc47135975f040c832e04c0.zip
Log update for Fail2Ban usage
+ Adds standard logging for all authentication providers + Updates help page to use default GitBlit SSH port
Diffstat (limited to 'src/main/java/com/gitblit/transport')
-rw-r--r--src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java b/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java
index a6d77ec4..e9e2d7e1 100644
--- a/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java
+++ b/src/main/java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java
@@ -51,7 +51,7 @@ public class UsernamePasswordAuthenticator implements PasswordAuthenticator {
}
username = username.toLowerCase(Locale.US);
- UserModel user = authManager.authenticate(username, password.toCharArray());
+ UserModel user = authManager.authenticate(username, password.toCharArray(), null);
if (user != null) {
client.setUser(user);
return true;