From ef6be80f54e8a97efad53f5ba8570748a9c91749 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 @@