Rename 'version' param on user consent config

we're going to use it for the version we require too.
This commit is contained in:
Richard van der Hoff 2018-05-17 12:09:18 +01:00
parent 413482f578
commit d14d7b8fdc
2 changed files with 7 additions and 5 deletions

View file

@ -116,7 +116,7 @@ class ConsentResource(Resource):
loader = jinja2.FileSystemLoader(consent_template_directory)
self._jinja_env = jinja2.Environment(loader=loader)
self._default_consent_verison = consent_config["default_version"]
self._default_consent_verison = consent_config["version"]
if hs.config.form_secret is None:
raise ConfigError(