From 6959662b74275133f82ab76dd00222e0e0b81a84 Mon Sep 17 00:00:00 2001 From: Mike VanDenburgh Date: Sat, 7 Dec 2024 12:42:29 -0500 Subject: [PATCH] Hide "Remember me" checkbox when needed --- allauth_ui/templates/account/login.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/allauth_ui/templates/account/login.html b/allauth_ui/templates/account/login.html index 762d47f..484ffd9 100644 --- a/allauth_ui/templates/account/login.html +++ b/allauth_ui/templates/account/login.html @@ -12,12 +12,14 @@ {% url 'account_login' as action_url %} {% #form form=form url=action_url button_text=heading %} + {% if form.remember %}
+ {% endif %} {{ redirect_field }} {% csrf_token %}