summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-01-20 13:15:14 +0000
committerGitHub <noreply@github.com>2021-01-20 08:15:14 -0500
commit0cd2938bc854d947ae8102ded688a626c9fac5b5 (patch)
treeb125ffde49f269d946f602ea70beba27864d813f /synapse/res
parentMerge remote-tracking branch 'origin/develop' into release-v1.26.0 (diff)
downloadsynapse-0cd2938bc854d947ae8102ded688a626c9fac5b5.tar.xz
Support icons for Identity Providers (#9154)
Diffstat (limited to 'synapse/res')
-rw-r--r--synapse/res/templates/sso_login_idp_picker.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/res/templates/sso_login_idp_picker.html b/synapse/res/templates/sso_login_idp_picker.html
index f53c9cd679..5b38481012 100644
--- a/synapse/res/templates/sso_login_idp_picker.html
+++ b/synapse/res/templates/sso_login_idp_picker.html
@@ -17,6 +17,9 @@
                     <li>
                         <input type="radio" name="idp" id="prov{{loop.index}}" value="{{p.idp_id}}">
                         <label for="prov{{loop.index}}">{{p.idp_name | e}}</label>
+{% if p.idp_icon %}
+                        <img src="{{p.idp_icon | mxc_to_http(32, 32)}}"/>
+{% endif %}
                     </li>
 {% endfor %}
                 </ul>