aboutsummaryrefslogtreecommitdiff
path: root/src/cyrsasl_oauth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cyrsasl_oauth.erl')
-rw-r--r--src/cyrsasl_oauth.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_oauth.erl b/src/cyrsasl_oauth.erl
index 09d143ef5..21dedc6db 100644
--- a/src/cyrsasl_oauth.erl
+++ b/src/cyrsasl_oauth.erl
@@ -51,7 +51,7 @@ mech_step(State, ClientIn) ->
{ok,
[{username, User}, {authzid, AuthzId},
{auth_module, ejabberd_oauth}]};
- false ->
+ _ ->
{error, 'not-authorized', User}
end;
_ -> {error, 'bad-protocol'}