Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into enahnce/subscrip…
Browse files Browse the repository at this point in the history
…tion_design_revamp
  • Loading branch information
sapayth committed Aug 7, 2024
2 parents c26efcf + 146f09c commit 6bdb8c7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions includes/Free/Simple_Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,16 +493,6 @@ public function process_login() {

return;
}

$wpuf_user_status = get_user_meta( $user->ID, 'wpuf_user_status', true );

if ( 'approved' !== $wpuf_user_status ) {
$message = __( 'You can\'t login until an administrator manually approve your account.', 'wp-user-frontend' );

$this->login_errors[] = $message;

return;
}
} else {
$creds['user_login'] = $log;
}
Expand Down

0 comments on commit 6bdb8c7

Please sign in to comment.