Edit Profile: No Password Change Confirmation Message

Hi, there is no message when a user on a membership site changes their password on the Edit Profile page.

I have already added the code that is missing to show error messages:

<?php 
        if (isset($error) && $error->has()) {
            echo '<div class="alert alert-danger mt-4">';
            $error->output();
            echo '</div>';
        }
        ?>

But I have no idea what it should be for the password confirmation message?

Thanks
Dave

Did you have a look at the core edit profile page? I think that should have the relevant snippets you’re looking for included.

Maybe something like this?

            View::element(
                'system_errors',
                array(
                    'format' => 'block',
                    'error' => isset($error) ? $error : null,
                    'success' => isset($success) ? $success : null,
                    'message' => isset($message) ? $message : null,
                )
            );
            ?>