Mercurial > prosody-hg
diff util/sasl/scram.lua @ 12941:e77c607e8da8
util.sasl.scram: Fix off-by-one indentation
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 16 Mar 2023 13:52:22 +0100 |
| parents | 78f874441e21 |
| children | d2c1c327a4d1 |
line wrap: on
line diff
--- a/util/sasl/scram.lua Thu Mar 16 13:45:49 2023 +0100 +++ b/util/sasl/scram.lua Thu Mar 16 13:52:22 2023 +0100 @@ -112,8 +112,8 @@ if support_channel_binding and gs2_cbind_flag == "y" then -- "y" -> client does support channel binding -- but thinks the server does not. - return "failure", "malformed-request"; - end + return "failure", "malformed-request"; + end if gs2_cbind_flag == "n" then -- "n" -> client doesn't support channel binding.
