diff --git a/src/Admin/Settings/Page.php b/src/Admin/Settings/Page.php index e444371a..56aba5c2 100644 --- a/src/Admin/Settings/Page.php +++ b/src/Admin/Settings/Page.php @@ -125,7 +125,7 @@ public function __construct() { 'type' => 'button', 'disabled' => empty( $settings[ 'domain_name' ] ) || empty( $settings[ 'api_token' ] ) || - $this->client instanceof Client || + ! $this->client instanceof Client || $this->client->is_api_token_valid(), ], ],