Files
ultimatemember/templates/password-reset.php
T
nikitozzzzzzz c4b6484438 - fixed vulnerabilities;
- small changes and fixes;
2017-08-07 16:30:12 +03:00

33 lines
671 B
PHP

<div class="um <?php echo $this->get_class( $mode ); ?> um-<?php echo esc_attr( $form_id ); ?>">
<div class="um-form">
<form method="post" action="">
<?php
if ( ! isset( UM()->password()->reset_request ) ) {
do_action('um_reset_password_page_hidden_fields', $args );
do_action('um_reset_password_form', $args );
do_action("um_after_form_fields", $args);
} else {
echo '<div class="um-field-block">';
echo '<p>' . __('We have sent you a password reset link to your e-mail. Please check your inbox.', 'ultimate-member' ) . '</p>';
echo '</div>';
}
?>
</form>
</div>
</div>