StateData#state{streamid = new_id(),
authenticated = true,
auth_module = AuthModule,
+ sasl_state = undefined,
user = U});
{continue, ServerOut, NewSASLState} ->
send_element(StateData,
StateData#state{streamid = new_id(),
authenticated = true,
auth_module = AuthModule,
+ sasl_state = undefined,
user = U});
{ok, Props, ServerOut} ->
(StateData#state.sockmod):reset_stream(StateData#state.socket),
StateData#state{streamid = new_id(),
authenticated = true,
auth_module = AuthModule,
+ sasl_state = undefined,
user = U});
{continue, ServerOut, NewSASLState} ->
send_element(StateData,