Skip to content

Commit

Permalink
Superflous/confusing line
Browse files Browse the repository at this point in the history
$user_id is already false here.
  • Loading branch information
BrianHenryIE authored and bradyvercher committed Feb 7, 2020
1 parent 609949d commit 80dbc96
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Provider/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ public function determine_current_user( $user_id ) {
$user_id = $server->authenticate( $this->request );
} catch ( AuthenticationException $e ) {
$this->auth_status = $e;
$user_id = false;

add_filter( 'rest_authentication_errors', [ $this, 'get_authentication_errors' ] );
}
Expand Down

0 comments on commit 80dbc96

Please sign in to comment.