summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-08-08 17:47:45 +0100
committerGitHub <noreply@github.com>2016-08-08 17:47:45 +0100
commit27771b24951e299925b0e69a5bd13306fa5cff59 (patch)
treefe8860c7364cab0808b34be8119190bef6fd69f1 /synapse/rest
parentMerge pull request #993 from matrix-org/rav/fix_token_login (diff)
parentFix CAS login (diff)
downloadsynapse-27771b24951e299925b0e69a5bd13306fa5cff59.tar.xz
Merge pull request #994 from matrix-org/rav/fix_cas_login
Fix CAS login
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):