diff options
-rw-r--r-- | util/sasl/scram.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/scram.lua b/util/sasl/scram.lua index 865f8cf7..f11ae2e0 100644 --- a/util/sasl/scram.lua +++ b/util/sasl/scram.lua @@ -175,7 +175,7 @@ local function scram_gen(hash_name, H_f, HMAC_f, get_auth_db, expect_cb) self.state = { gs2_header = gs2_header; gs2_cbind_name = gs2_cbind_name; - username = username; + username = self.username; -- Reference property instead of local, in case it was modified by the profile nonce = nonce; server_key = server_key; |