Changeset

452:628896d39d8e

client: Allow passing SCRAM hashes for use in authentication
author Kim Alvefur <zash@zash.se>
date Wed, 03 Aug 2022 02:59:09 +0200
parents 451:a0c55329c38d
children 453:e60c776b7760
files client.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client.lua	Wed Aug 03 02:47:55 2022 +0200
+++ b/client.lua	Wed Aug 03 02:59:09 2022 +0200
@@ -72,8 +72,9 @@
 	return true;
 end
 
-function stream:connect_client(jid, pass)
+function stream:connect_client(jid, pass, client_key, server_key)
 	self.jid, self.password = jid, pass;
+	self.client_key, self.server_key = client_key, server_key;
 	self.username, self.host, self.resource = jid_split(jid);
 
 	-- Required XMPP features