From d22cd97d7bd897201679cdd94b3b4c99136d985b Mon Sep 17 00:00:00 2001 From: hellcat <> Date: Sun, 19 Oct 2025 14:35:06 +0800 Subject: [PATCH] no message --- resources/views/tabler/password/token.tpl | 149 ++++++++++++++---- resources/views/tabler/password/token_old.tpl | 40 +++++ src/Controllers/PasswordController.php | 3 +- 3 files changed, 157 insertions(+), 35 deletions(-) create mode 100755 resources/views/tabler/password/token_old.tpl diff --git a/resources/views/tabler/password/token.tpl b/resources/views/tabler/password/token.tpl index 02ca9fdf0..074db7e6d 100755 --- a/resources/views/tabler/password/token.tpl +++ b/resources/views/tabler/password/token.tpl @@ -1,40 +1,121 @@ -{include file='header.tpl'} + + + + + + 重置密码 — HutaoCloud + + + + + + + + + + + + + + + - -
-
-
- - SSPanel-UIM Logo - -
-
-
-

设置新密码

-
- - + + + +
+
+
+
+
-
- - -
-
-
- 已有账户? 点击登录 -
-
-
+ + -{include file='footer.tpl'} + + + + + + + + + + diff --git a/resources/views/tabler/password/token_old.tpl b/resources/views/tabler/password/token_old.tpl new file mode 100755 index 000000000..02ca9fdf0 --- /dev/null +++ b/resources/views/tabler/password/token_old.tpl @@ -0,0 +1,40 @@ +{include file='header.tpl'} + + +
+
+
+ + SSPanel-UIM Logo + +
+
+
+

设置新密码

+
+ + +
+
+ + +
+ +
+
+
+ 已有账户? 点击登录 +
+
+
+ +{include file='footer.tpl'} diff --git a/src/Controllers/PasswordController.php b/src/Controllers/PasswordController.php index fe213a547..dc4d1ad92 100755 --- a/src/Controllers/PasswordController.php +++ b/src/Controllers/PasswordController.php @@ -106,7 +106,8 @@ final class PasswordController extends BaseController { $token = $this->antiXss->xss_clean($args['token']); $password = $request->getParam('password'); - $confirm_password = $request->getParam('confirm_password'); +// $confirm_password = $request->getParam('confirm_password'); + $confirm_password = $request->getParam('repasswd'); var_dump($token);