We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e77404 commit 5e9feddCopy full SHA for 5e9fedd
plugins/Sandbox/templates/ToolsExamples/password.php
@@ -15,7 +15,7 @@
15
16
<?php
17
$action = 'Register';
18
- if ($this->request->getAttribute('params')['action'] === 'passwordEdit') {
+ if ($this->request->getParam('action') === 'passwordEdit') {
19
$action = 'Edit';
20
}
21
?>
@@ -37,7 +37,7 @@
37
</div>
38
39
<h3>Info</h3>
40
-<?php if ($action === 'password') { ?>
+<?php if ($action === 'Register') { ?>
41
The pwd and pwd_repeat fields are both mandatory.
42
<?php } else { ?>
43
The password fields are optional, but as soon as the pwd field has content, both
0 commit comments