From 128902d60a79b3fc36be084413e742ecf9300c82 Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Mon, 18 Feb 2019 17:21:51 +0000
Subject: [PATCH] Update worker docs

---
 changelog.d/4666.feature | 2 +-
 docs/workers.rst         | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/changelog.d/4666.feature b/changelog.d/4666.feature
index 421060f9f9..b3a3915eb0 100644
--- a/changelog.d/4666.feature
+++ b/changelog.d/4666.feature
@@ -1 +1 @@
-Allow registration to be handled by a worker instance.
+Allow registration and login to be handled by a worker instance.
diff --git a/docs/workers.rst b/docs/workers.rst
index 6ce7d88c11..3ba5879f76 100644
--- a/docs/workers.rst
+++ b/docs/workers.rst
@@ -222,11 +222,12 @@ following regular expressions::
     ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/context/.*$
     ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/members$
     ^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/state$
+    ^/_matrix/client/(api/v1|r0|unstable)/login$
 
 Additionally, the following REST endpoints can be handled, but all requests must
 be routed to the same instance::
 
-    ^/_matrix/client/(api/v1|r0|unstable)/register$
+    ^/_matrix/client/(r0|unstable)/register$
 
 
 ``synapse.app.user_dir``
-- 
GitLab