I’m using the login extra to display a change password form using the ChangePassword
snippet. I want to display a success message after successful submitting the form.
There’s a property &reloadOnSuccess
:
If 1, the page will redirect to itself with a GET parameter to prevent double-postbacks. If 0, it will simply set a success placeholder. (Quote from the docs)
So if understand correctly, there’s no success message placeholder set, when this is set to 1.
Comparing this to the UpdateProfile
snippet, there the same functionality is used (with the GET redirect) but there’s also a success message placeholder set:
[[!+login.update_success:is=`1`:then=`Success`]]
Is there no similar success message in the ChangePassword
snippet? As the &reloadOnSuccess
is set to 1 by default, I assume it is recommended to keep it this way. But the user should still get visual feedback, that their password change went through.
MODX 2.8.4