# charitable/1.8.13/templates/account/reset-password.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.8.13. 75 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.8.13/code/templates/account/reset-password.php
- Raw: https://pluginprobe.com/plugins/charitable/1.8.13/raw/templates/account/reset-password.php
- Modified: 2026-01-01T16:41:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.8.13/code/templates/account/reset-password.php#L10-L20`.

```php
<?php
/**
 * The template used to display the reset password form. Provided here
 * primarily as a way to make it easier to override using theme templates.
 *
 * Override this template by copying it to yourtheme/charitable/account/reset-password.php
 *
 * @author  Rafe Colton
 * @package Charitable/Templates/Account
 * @since   1.4.0
 * @version 1.5.0
 * @version 1.8.8.6
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; } // Exit if accessed directly

/**
 * Reset password form.
 *
 * @var     Charitable_Reset_Password_Form
 */
$charitable_form = $view_args['form'];

?>
<div class="charitable-reset-password-form">
	<?php
	if ( $charitable_form->has_key() ) :

		/**
		 * @hook charitable_reset_password_before
		 */
		do_action( 'charitable_reset_password_before' );

		?>
		<form id="resetpassform" class="charitable-form" method="post" autocomplete="off">

			<?php do_action( 'charitable_form_before_fields', $charitable_form ); ?>

			<div class="charitable-form-fields cf">
				<?php $charitable_form->view()->render(); ?>
				<p class="description"><?php echo wp_get_password_hint(); // phpcs:ignore ?></p>
			</div><!-- .charitable-form-fields -->

			<?php do_action( 'charitable_form_after_fields', $charitable_form ); ?>

			<div class="charitable-form-field charitable-submit-field resetpass-submit">
				<button id="resetpass-button" class="button button-primary lostpassword-button" type="submit"><?php esc_html_e( 'Reset Password', 'charitable' ); ?></button>
			</div>
		</form>
		<?php

		/**
		 * @hook charitable_reset_password_after
		 */
		do_action( 'charitable_reset_password_after' );

	else :

		$errors = charitable_get_notices()->get_errors(); // phpcs:ignore

		if ( ! empty( $errors ) ) {
			charitable_template(
				'form-fields/errors.php',
				array(
					'errors' => $errors,
				)
			);
		}

	endif;

	?>
</div><!-- .charitable-reset-password-form -->

```
