aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cyrsasl_scram.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cyrsasl_scram.erl b/src/cyrsasl_scram.erl
index d1c218be1..6dbf810b9 100644
--- a/src/cyrsasl_scram.erl
+++ b/src/cyrsasl_scram.erl
@@ -138,7 +138,7 @@ mech_step(#state{step = 4} = State, ClientIn) ->
parse_attribute(Attribute) ->
AttributeLen = string:len(Attribute),
if
- AttributeLen > 3 ->
+ AttributeLen >= 3 ->
SecondChar = lists:nth(2, Attribute),
case is_alpha(lists:nth(1, Attribute)) of
true ->