mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed reset password meta set after update profile;
This commit is contained in:
@@ -249,11 +249,6 @@ if ( ! class_exists( 'um\frontend\Secure' ) ) {
|
||||
wp_safe_redirect( $login_url );
|
||||
exit;
|
||||
}
|
||||
} else {
|
||||
if ( UM()->options()->get( 'display_login_form_notice' ) ) {
|
||||
update_user_meta( $user_id, 'um_secure_has_reset_password', true );
|
||||
update_user_meta( $user_id, 'um_secure_has_reset_password__timestamp', current_time( 'mysql' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user