summary refs log tree commit diff
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-10-15 14:56:13 -0600
committerTravis Ralston <travpc@gmail.com>2018-10-15 14:56:13 -0600
commit442734ff9e7a4ac09c54a58f8b5467379673914f (patch)
tree09380848ab7dafcbce09046969040b0219780ee9
parentPython is hard (diff)
downloadsynapse-442734ff9e7a4ac09c54a58f8b5467379673914f.tar.xz
Ensure the terms params are actually provided
-rw-r--r--synapse/handlers/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index f1befeb575..12979f6ed3 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -486,6 +486,7 @@ class AuthHandler(BaseHandler):
 
         get_params = {
             LoginType.RECAPTCHA: self._get_params_recaptcha,
+            LoginType.TERMS: self._get_params_terms,
         }
 
         params = {}