parent
6c1234668a
commit
dbec84e0a9
|
@ -78,7 +78,11 @@ class WC_REST_Authentication {
|
|||
}
|
||||
|
||||
if ( is_ssl() ) {
|
||||
return $this->perform_basic_authentication();
|
||||
$user_id = $this->perform_basic_authentication();
|
||||
}
|
||||
|
||||
if ( $user_id ) {
|
||||
return $user_id;
|
||||
}
|
||||
|
||||
return $this->perform_oauth_authentication();
|
||||
|
|
Loading…
Reference in New Issue