diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cyrsasl_scram.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_scram.erl b/src/cyrsasl_scram.erl index 1fd7c1be5..deef51c57 100644 --- a/src/cyrsasl_scram.erl +++ b/src/cyrsasl_scram.erl @@ -160,7 +160,7 @@ mech_step(#state{step = 4} = State, ClientIn) -> {ok, [{username, State#state.username}], <<"v=", (jlib:encode_base64(ServerSignature))/binary>>}; - true -> {error, <<"bad-auth">>} + true -> {error, <<"bad-auth">>, State#state.username} end; _Else -> {error, <<"bad-protocol">>} end; |