From 669617ab54a667623fdbbc07dfd7354b5d66286b Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 7 Mar 2024 18:44:13 +0100 Subject: [PATCH] Use `submit` event in login form It's a pet peeve from me when logging into my personal Hydra that I always have to press the button rather than hitting Return after entering my password. Reason for that is that the form doesn't have a "submit" button, so far it was always listened to the "click" event. Submit does that and you can hit Return alternatively. --- src/root/auth.tt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/root/auth.tt b/src/root/auth.tt index d1539765..d49ba5bd 100644 --- a/src/root/auth.tt +++ b/src/root/auth.tt @@ -33,7 +33,7 @@