diff --git a/README.md b/README.md index 659b26a..d1ff662 100644 --- a/README.md +++ b/README.md @@ -178,7 +178,7 @@ namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; -use BSPDX\AuthKit\Traits\HasAuthKit; +use Bspdx\AuthKit\Traits\HasAuthKit; class User extends Authenticatable { @@ -514,7 +514,7 @@ php artisan db:seed --class=AuthKitSeeder namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; -use BSPDX\AuthKit\Traits\HasAuthKit; +use Bspdx\AuthKit\Traits\HasAuthKit; class User extends Authenticatable { diff --git a/app/Models/User.php b/app/Models/User.php index 601037b..95e7865 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; -use BSPDX\AuthKit\Traits\HasAuthKit; +use Bspdx\AuthKit\Traits\HasAuthKit; use Spatie\LaravelPasskeys\Models\Concerns\HasPasskeys; class User extends Authenticatable implements HasPasskeys diff --git a/bootstrap/providers.php b/bootstrap/providers.php index 2b2815e..8bd0447 100644 --- a/bootstrap/providers.php +++ b/bootstrap/providers.php @@ -2,7 +2,7 @@ return [ App\Providers\AppServiceProvider::class, - BSPDX\AuthKit\AuthKitServiceProvider::class, + Bspdx\AuthKit\AuthKitServiceProvider::class, Spatie\Permission\PermissionServiceProvider::class, Spatie\LaravelPasskeys\LaravelPasskeysServiceProvider::class, ]; diff --git a/composer.json b/composer.json index 122e132..821997d 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ }, "autoload": { "psr-4": { - "BSPDX\\AuthKit\\": "src/", + "Bspdx\\AuthKit\\": "src/", "App\\": "app/", "Database\\Factories\\": "database/factories/", "Database\\Seeders\\": "database/seeders/" @@ -48,7 +48,7 @@ }, "autoload-dev": { "psr-4": { - "BSPDX\\AuthKit\\Tests\\": "tests/", + "Bspdx\\AuthKit\\Tests\\": "tests/", "Tests\\": "tests/" } }, @@ -100,7 +100,7 @@ "extra": { "laravel": { "providers": [ - "BSPDX\\AuthKit\\AuthKitServiceProvider" + "Bspdx\\AuthKit\\AuthKitServiceProvider" ], "dont-discover": [] } diff --git a/resources/views/splash.blade.php b/resources/views/splash.blade.php index 70cd3cd..e30b56d 100644 --- a/resources/views/splash.blade.php +++ b/resources/views/splash.blade.php @@ -400,7 +400,7 @@

Update User Model

-
use BSPDX\AuthKit\Traits\HasAuthKit; +
use Bspdx\AuthKit\Traits\HasAuthKit; class User extends Authenticatable { diff --git a/routes/api.php b/routes/api.php index 1d7d42d..07b3b91 100644 --- a/routes/api.php +++ b/routes/api.php @@ -1,9 +1,9 @@ loadViewComponentsAs('authkit', [ - \BSPDX\AuthKit\View\Components\LoginForm::class, - \BSPDX\AuthKit\View\Components\RegisterForm::class, - \BSPDX\AuthKit\View\Components\TwoFactorChallenge::class, - \BSPDX\AuthKit\View\Components\PasskeyRegister::class, - \BSPDX\AuthKit\View\Components\PasskeyLogin::class, + \Bspdx\AuthKit\View\Components\LoginForm::class, + \Bspdx\AuthKit\View\Components\RegisterForm::class, + \Bspdx\AuthKit\View\Components\TwoFactorChallenge::class, + \Bspdx\AuthKit\View\Components\PasskeyRegister::class, + \Bspdx\AuthKit\View\Components\PasskeyLogin::class, ]); } } diff --git a/src/Http/Controllers/PasskeyAuthController.php b/src/Http/Controllers/PasskeyAuthController.php index 38aeeb3..0ef3c5c 100644 --- a/src/Http/Controllers/PasskeyAuthController.php +++ b/src/Http/Controllers/PasskeyAuthController.php @@ -1,6 +1,6 @@