diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-02-01 15:52:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 15:52:50 +0000 |
commit | 4167494c90bc0477bdf4855a79e81dc81bba1377 (patch) | |
tree | 6ec650b39d8521d9c7f8d8d3386c5ab8320e3ed7 /synapse/config/oidc_config.py | |
parent | Improve styling and wording of SSO redirect confirm template (#9272) (diff) | |
download | synapse-4167494c90bc0477bdf4855a79e81dc81bba1377.tar.xz |
Replace username picker with a template (#9275)
There's some prelimiary work here to pull out the construction of a jinja environment to a separate function. I wanted to load the template at display time rather than load time, so that it's easy to update on the fly. Honestly, I think we should do this with all our templates: the risk of ending up with malformed templates is far outweighed by the improved turnaround time for an admin trying to update them.
Diffstat (limited to 'synapse/config/oidc_config.py')
-rw-r--r-- | synapse/config/oidc_config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/oidc_config.py b/synapse/config/oidc_config.py index f31511e039..784b416f95 100644 --- a/synapse/config/oidc_config.py +++ b/synapse/config/oidc_config.py @@ -152,7 +152,8 @@ class OIDCConfig(Config): # # localpart_template: Jinja2 template for the localpart of the MXID. # If this is not set, the user will be prompted to choose their - # own username. + # own username (see 'sso_auth_account_details.html' in the 'sso' + # section of this file). # # display_name_template: Jinja2 template for the display name to set # on first login. If unset, no displayname will be set. |