From 35db6e71fc7196af1757be17d2a3919246476683 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 19 Sep 2024 11:28:12 +0200 Subject: Add password reset --- src/application/views/form_login.php | 3 ++ src/application/views/form_new_password.php | 38 +++++++++++++++++++++++++ src/application/views/form_password_reset.php | 41 +++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 src/application/views/form_new_password.php create mode 100644 src/application/views/form_password_reset.php (limited to 'src/application/views') diff --git a/src/application/views/form_login.php b/src/application/views/form_login.php index 1c4a9ea..acef1ff 100644 --- a/src/application/views/form_login.php +++ b/src/application/views/form_login.php @@ -21,6 +21,8 @@ if (($_formError = RequestUtils::getAndClearFormError("login")) !== null) { ?>
" method="post"> + +
" required autofocus> @@ -33,6 +35,7 @@ if (($_formError = RequestUtils::getAndClearFormError("login")) !== null) {
+
diff --git a/src/application/views/form_new_password.php b/src/application/views/form_new_password.php new file mode 100644 index 0000000..7431bd5 --- /dev/null +++ b/src/application/views/form_new_password.php @@ -0,0 +1,38 @@ + + +
+
+ $_formError]); +} +?> +" method="post"> + +
+ + +
+ +
+ + +
+ +
+ +
+ +
+
diff --git a/src/application/views/form_password_reset.php b/src/application/views/form_password_reset.php new file mode 100644 index 0000000..57d8ed2 --- /dev/null +++ b/src/application/views/form_password_reset.php @@ -0,0 +1,41 @@ + + +
+
+ $_formError]); +} +?> +
" method="post"> + +
+ + " required autofocus> +
+ +
+ +
+ +
+ '', + "/link" => '', + ]) ?> +
+
+
+
-- cgit v1.2.3