summary refs log tree commit diff
path: root/synapse/res
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 13:37:49 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 13:39:50 +0100
commit2036503c9e24198df36e2beca1d8aa8571fc125b (patch)
tree67c4a212e4d26b609c6011597c3fee5e6b6c98b2 /synapse/res
parentMerge commit '3d2acc930' into anoa/dinsic_release_1_31_0 (diff)
parentMerge tag 'v1.28.0rc1' into develop (diff)
downloadsynapse-2036503c9e24198df36e2beca1d8aa8571fc125b.tar.xz
Merge commit 'd9f1dccba' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/res')
-rw-r--r--synapse/res/templates/sso_auth_account_details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/res/templates/sso_auth_account_details.html b/synapse/res/templates/sso_auth_account_details.html
index f4fdc40b22..00e1dcdbb8 100644
--- a/synapse/res/templates/sso_auth_account_details.html
+++ b/synapse/res/templates/sso_auth_account_details.html
@@ -145,7 +145,7 @@
         <input type="submit" value="Continue" class="primary-button">
         {% if user_attributes.avatar_url or user_attributes.display_name or user_attributes.emails %}
         <section class="idp-pick-details">
-          <h2><img src="{{ idp.idp_icon | mxc_to_http(24, 24) }}"/>Information from {{ idp.idp_name }}</h2>
+          <h2>{% if idp.idp_icon %}<img src="{{ idp.idp_icon | mxc_to_http(24, 24) }}"/>{% endif %}Information from {{ idp.idp_name }}</h2>
           {% if user_attributes.avatar_url %}
           <label class="idp-detail idp-avatar" for="idp-avatar">
             <div class="check-row">