aboutsummaryrefslogtreecommitdiff
path: root/test/js
diff options
context:
space:
mode:
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)