summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/flesh.ml2
-rw-r--r--lib/sasl.ml (renamed from lib/auth.ml)0
-rw-r--r--test/js/websockets_hello.ml4
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/flesh.ml b/lib/flesh.ml
index 6bf7fa0..d8aca97 100644
--- a/lib/flesh.ml
+++ b/lib/flesh.ml
@@ -1,2 +1,2 @@
module Stream = Stream
-module Auth = Auth
+module Sasl = Sasl
diff --git a/lib/auth.ml b/lib/sasl.ml
index 606beb6..606beb6 100644
--- a/lib/auth.ml
+++ b/lib/sasl.ml
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)