Skip to content

Commit 4ff390e

Browse files
authored
delete patch !
1 parent bac5b14 commit 4ff390e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/helpers/class-member-auth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public static function authenticate($username, $password) {
116116
}
117117

118118
$member = apply_filters('mpt_authenticate', null, $username, $password);
119-
if ( $member == null || isset( $member->errors['invalid_username'] ) ) {
119+
if ( $member == null ) {
120120
// Only needed if all authentication handlers fail to return anything && username issues
121121
$member = new WP_Error('authentication_failed', __('<strong>ERROR</strong>: Invalid username or incorrect password.', 'mpt'));
122122
}

0 commit comments

Comments
 (0)