diff --git a/README.md b/README.md
index 368f0cb..1b72699 100644
--- a/README.md
+++ b/README.md
@@ -218,11 +218,12 @@ return [
| Logo Settings
|--------------------------------------------------------------------------
| You may like to define a different logo for the login page.
- | The path is relative to the public folder.
+ | You can pass either a path relative to the public folder or a full url.
|
*/
'logo' => [
'path' => 'vendor/auth/images/lock.svg',
+ // 'path' => 'https://example.test/images/logo.png',
],
/*
diff --git a/resources/views/components/logo.blade.php b/resources/views/components/logo.blade.php
index c1a80dd..6d16bbc 100644
--- a/resources/views/components/logo.blade.php
+++ b/resources/views/components/logo.blade.php
@@ -1,3 +1,5 @@
-@if(config('laravel-auth.logo.path'))
+@if(config('laravel-auth.logo.path') && !filter_var(config('laravel-auth.logo.path'), FILTER_VALIDATE_URL))
merge(['class' => 'mx-auto w-[25%]']) }}>
+@else
+ merge(['class' => 'mx-auto w-[25%]']) }}>
@endif