From bb91d3c6b6ef32dc96810669baca92a629fe5675 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 25 Jun 2018 18:01:29 +1000 Subject: [PATCH] Resilently handle IndieAuth clients that don't have a logo in their h-x-app --- lemonauth/jinja2/lemonauth/indie.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lemonauth/jinja2/lemonauth/indie.html b/lemonauth/jinja2/lemonauth/indie.html index 1b55113..24b3c5b 100644 --- a/lemonauth/jinja2/lemonauth/indie.html +++ b/lemonauth/jinja2/lemonauth/indie.html @@ -9,8 +9,10 @@

{% if app %} - - sign in to {{ app.name[0] }} ({{ params.client_id }})? + {% if app.logo is defined %} + + {% endif %} + sign in to {{ app.name[0] }} ({{ params.client_id }})? {% else %} sign in to {{ params.client_id }}? {% endif %}