From ddb51c0e95074c6fbddade547ca267801177bb01 Mon Sep 17 00:00:00 2001 From: Inverle Date: Mon, 15 Sep 2025 22:17:14 +0200 Subject: Fix another user self-delete regression (#7877) Regression from #7763 Earlier regression which was fixed before #7626 In addition: * get rid of `data-toggle` (refactor) * show invalid login message if deleting account and entered incorrect password instead of redirect to 403 * remove unused reference to `r` parameter * `forgetOpenCategories()` on login not on any crypto form --- app/views/auth/formLogin.phtml | 6 +++--- app/views/auth/reauth.phtml | 8 ++++---- app/views/auth/register.phtml | 2 +- app/views/feed/add.phtml | 2 +- app/views/helpers/feed/update.phtml | 2 +- app/views/subscription/add.phtml | 2 +- app/views/user/details.phtml | 2 +- app/views/user/manage.phtml | 2 +- app/views/user/profile.phtml | 29 +++++++++++------------------ 9 files changed, 24 insertions(+), 31 deletions(-) (limited to 'app/views') diff --git a/app/views/auth/formLogin.phtml b/app/views/auth/formLogin.phtml index d72d0b1b3..23fceeb88 100644 --- a/app/views/auth/formLogin.phtml +++ b/app/views/auth/formLogin.phtml @@ -11,7 +11,7 @@ -
+ @@ -24,8 +24,8 @@
- - + +
diff --git a/app/views/auth/reauth.phtml b/app/views/auth/reauth.phtml index d5b75decd..b48f89e5f 100644 --- a/app/views/auth/reauth.phtml +++ b/app/views/auth/reauth.phtml @@ -6,14 +6,14 @@

- +
- - + +
@@ -23,7 +23,7 @@ ?>

-
diff --git a/app/views/auth/register.phtml b/app/views/auth/register.phtml index daaf08b8c..5787b36fc 100644 --- a/app/views/auth/register.phtml +++ b/app/views/auth/register.phtml @@ -50,7 +50,7 @@
- +

diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml index ceec0d7b6..a30ce19a1 100644 --- a/app/views/feed/add.phtml +++ b/app/views/feed/add.phtml @@ -83,7 +83,7 @@
- +
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index c363532f5..e95400953 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -231,7 +231,7 @@
- +
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 3e5d6d08b..a822b4440 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -277,7 +277,7 @@
- +
diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml index 20ab4d804..648bbfd27 100644 --- a/app/views/user/details.phtml +++ b/app/views/user/details.phtml @@ -61,7 +61,7 @@
username ? '' : 'disabled="disabled" ' ?>/> - +

diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml index d416d0c0c..2c2354b3a 100644 --- a/app/views/user/manage.phtml +++ b/app/views/user/manage.phtml @@ -71,7 +71,7 @@
- +

diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml index d49147c59..f55eead4d 100644 --- a/app/views/user/profile.phtml +++ b/app/views/user/profile.phtml @@ -7,7 +7,7 @@ ?>
- +

@@ -58,12 +58,12 @@
>
- +
- - + +
@@ -89,7 +89,7 @@
- +
@@ -120,7 +120,7 @@ placeholder="" pattern=".{7,}" /> - +

@@ -146,7 +146,7 @@

- +

@@ -155,8 +155,8 @@
- - + +

@@ -165,13 +165,6 @@
- 'user', 'a' => 'profile'], - 'php', true - )); - ?> -
-- cgit v1.2.3