Skip to content

Commit b9a86d8

Browse files
author
Michael Rook
committed
Add check for Api Token
1 parent ecf07d1 commit b9a86d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Cloudflare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function boot()
3838
public static function isConfigured(): bool
3939
{
4040
if (is_null(static::$isConfigured)) {
41-
static::$isConfigured = static::config('email') && static::config('key');
41+
static::$isConfigured = static::config('email') && static::config('key') || static::config('token');
4242
}
4343

4444
return static::$isConfigured;

0 commit comments

Comments
 (0)