From 0d7c650b3b59d8a7bbc47135975f040c832e04c0 Mon Sep 17 00:00:00 2001 From: Paul Martin Date: Sun, 25 Oct 2015 16:12:32 +0000 Subject: Log update for Fail2Ban usage + Adds standard logging for all authentication providers + Updates help page to use default GitBlit SSH port --- .../java/com/gitblit/transport/ssh/UsernamePasswordAuthenticator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/gitblit/transport') 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; -- cgit v1.2.3