summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-08-08 17:01:30 +0100
committerRichard van der Hoff <richard@matrix.org>2016-08-08 17:01:30 +0100
commit0682ca04b3ac0a3e148633d020b3248dbe98f13d (patch)
tree6fb457023160856ea3c02b2fc6cbff537b3a43e2 /synapse/rest
parentMerge branch 'release-v0.17.0' of github.com:matrix-org/synapse (diff)
downloadsynapse-0682ca04b3ac0a3e148633d020b3248dbe98f13d.tar.xz
Fix CAS login
Attempting to log in with CAS was giving a 500 error.
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/login.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/login.py b/synapse/rest/client/v1/login.py
index 92fcae674a..d8c76a3465 100644
--- a/synapse/rest/client/v1/login.py
+++ b/synapse/rest/client/v1/login.py
@@ -427,6 +427,7 @@ class CasTicketServlet(ClientV1RestServlet):
         self.cas_server_url = hs.config.cas_server_url
         self.cas_service_url = hs.config.cas_service_url
         self.cas_required_attributes = hs.config.cas_required_attributes
+        self.auth_handler = hs.get_auth_handler()
 
     @defer.inlineCallbacks
     def on_GET(self, request):