Skip to content

Commit

Permalink
Force lost password to tutor has removed
Browse files Browse the repository at this point in the history
  • Loading branch information
harunollyo committed Jul 28, 2023
1 parent 02e2b88 commit 23d4bcb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions classes/FormHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function __construct() {

add_action( 'tutor_reset_password_notification', array( $this, 'reset_password_notification' ), 10, 2 );
add_filter( 'tutor_lostpassword_url', array( $this, 'lostpassword_url' ) );
add_filter( 'lostpassword_url', array( $this, 'lostpassword_url' ), 99 );
}

/**
Expand All @@ -44,10 +43,10 @@ public function __construct() {
*/
public function tutor_retrieve_password() {
tutils()->checking_nonce();

/**
* To check spam or other logic before form process.
*
*
* @since 2.1.10
*/
$before_form_process = apply_filters( 'tutor_before_retrieve_password_form_process', null );
Expand Down

0 comments on commit 23d4bcb

Please sign in to comment.