From a09385cb06d2cb7ebdca6177a668e19af4cc3fea Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sun, 4 Jul 2021 19:42:06 +0100 Subject: Add 'remember me' checkbox to sourcehut theme login page. Signed-off-by: Martin Ashby --- themes/sourcehut/login.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/themes/sourcehut/login.html b/themes/sourcehut/login.html index 65605b4..c6e843a 100644 --- a/themes/sourcehut/login.html +++ b/themes/sourcehut/login.html @@ -20,6 +20,19 @@ name="password" id="password" /> + + {{if .CanRememberMe}} +
+ +
+ {{end}} +