<html><body><div>Hi all,</div><div><br></div><div>I get the following error i<span style="line-height: 1.5;">f I try to log in as user1 with a wrong password and then as user2 with a correct password.</span></div><div><br></div><div><div>2015-10-15 09:05:58,605 ERROR [org.keycloak.authentication.AuthenticationProcessor] (default task-24) failed authentication: USER_CONFLICT: org.keycloak.authentication.AuthenticationFlowException</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.keycloak.authentication.AuthenticationProcessor.setAutheticatedUser(AuthenticationProcessor.java:203) [keycloak-services-1.6.0.Final-SNAPSHOT.jar:1.6.0.Final-SNAPSHOT]</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.keycloak.authentication.AuthenticationProcessor$Result.setUser(AuthenticationProcessor.java:332) [keycloak-services-1.6.0.Final-SNAPSHOT.jar:1.6.0.Final-SNAPSHOT]</div></div><div><br></div><div><br></div><div>I think the reason for that is the context.setUser(user) call in the&nbsp;AbstractUsernameFormAuthenticator.validateUser method.</div><div><br></div><div>Is this on purpose?</div><div><br></div><div>Best</div><div>Michael</div></body></html>