aboutsummaryrefslogtreecommitdiff
path: root/test/js
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-11 19:24:26 +0200
committerClombrong <cromblong@egregore.fun>2025-06-11 19:24:26 +0200
commit7444155d05a63fdbad93ee6f54d92efe32f2e337 (patch)
treecd3bfba4ee81d57a3ff9a8368581622d911e117a /test/js
parent83b07678994d774ebc22cf387229ed7620d7708e (diff)
feat: move auth to sasl
Diffstat (limited to 'test/js')
-rw-r--r--test/js/websockets_hello.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/js/websockets_hello.ml b/test/js/websockets_hello.ml
index 292b365..6882c5b 100644
--- a/test/js/websockets_hello.ml
+++ b/test/js/websockets_hello.ml
@@ -18,9 +18,9 @@ let rec run t =
let main (stream, push) jid password =
let* _stream = Lwt_stream.get stream
- in let+ _auth = Auth.send_auth_stanza (stream, push)
+ in let+ _auth = Sasl.send_auth_stanza (stream, push)
jid password
- Auth.PLAIN
+ Sasl.PLAIN
in push None;
match _auth with
| Error (NotAuthorized, Some (_, text)) -> print_endline ("Not authorized: " ^ text)