diff options
| author | 2025-09-15 22:17:14 +0200 | |
|---|---|---|
| committer | 2025-09-15 22:17:14 +0200 | |
| commit | ddb51c0e95074c6fbddade547ca267801177bb01 (patch) | |
| tree | b036f516b8c437f6cc83a1b4ed721b5cdc79688d /app/views/user/details.phtml | |
| parent | 38b7daedf70e38e5953e3d4b7bf6c764a1c9c4e0 (diff) | |
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
Diffstat (limited to 'app/views/user/details.phtml')
| -rw-r--r-- | app/views/user/details.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <div class="stick"> <input type="password" id="newPasswordPlain" name="newPasswordPlain" autocomplete="new-password" pattern=".{7,}" <?= cryptAvailable() && Minz_User::name() !== $this->username ? '' : 'disabled="disabled" ' ?>/> - <button type="button" class="btn toggle-password" data-toggle="newPasswordPlain"><?= _i('key') ?></button> + <button type="button" class="btn toggle-password"><?= _i('key') ?></button> </div> <p class="help"><?= _i('help'); ?> <?= _t('admin.user.password_format') ?></p> </div> |
