From 81e2f9a628c62408af174900318d2736ae21e496 Mon Sep 17 00:00:00 2001
From: Olivier 'reivilibre
Date: Tue, 28 Oct 2025 16:46:19 +0000
Subject: [PATCH] Clarify some more conditions in the templates
---
templates/form_post.html | 2 +-
templates/pages/index.html | 2 +-
templates/pages/upstream_oauth2/do_register.html | 10 +++++-----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/templates/form_post.html b/templates/form_post.html
index 1d0267e9f..71882c8ab 100644
--- a/templates/form_post.html
+++ b/templates/form_post.html
@@ -15,7 +15,7 @@ Please see LICENSE files in the repository root for full details.
-
- {% elif upstream_oauth_provider.human_name %}
+ {% elif upstream_oauth_provider.human_name is not none %}
{{ icon.user_profile_solid() }}
@@ -55,9 +55,9 @@ Please see LICENSE files in the repository root for full details.
{% endif %}
- {% if upstream_oauth_provider.human_name %}
+ {% if upstream_oauth_provider.human_name is not none %}