aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/sasl/scram.lua2
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;