mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
Reverted ChainAuthenticatonManager.java
This commit is contained in:
@@ -240,12 +240,11 @@ public class ChainAuthenticatonManager extends AbstractAuthenticationManager
|
||||
authenticator.getClass().getName(), result);
|
||||
}
|
||||
|
||||
// CR: Removed check on state=failed to allow next module to
|
||||
// continue
|
||||
if ((result != null) && (result.getState() != null)
|
||||
&& result.getState().isSuccessfully())
|
||||
&& (result.getState().isSuccessfully()
|
||||
|| (result.getState() == AuthenticationState.FAILED)))
|
||||
{
|
||||
if (result.getUser() != null)
|
||||
if (result.getState().isSuccessfully() && (result.getUser() != null))
|
||||
{
|
||||
User user = result.getUser();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user