diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-11 19:24:26 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-11 19:24:26 +0200 |
commit | 7444155d05a63fdbad93ee6f54d92efe32f2e337 (patch) | |
tree | cd3bfba4ee81d57a3ff9a8368581622d911e117a /test/js/websockets_hello.ml | |
parent | 83b07678994d774ebc22cf387229ed7620d7708e (diff) |
feat: move auth to sasl
Diffstat (limited to 'test/js/websockets_hello.ml')
-rw-r--r-- | test/js/websockets_hello.ml | 4 |
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) |