stage 1 of oauth removal, switch to sanctum pat tokens

This commit is contained in:
Codex Agent
2025-11-06 20:35:58 +01:00
parent c9783bd57b
commit 776da57ca9
47 changed files with 1571 additions and 2555 deletions

View File

@@ -34,6 +34,7 @@ class UserFactory extends Factory
'email' => $this->faker->unique()->safeEmail(),
'address' => $this->faker->streetAddress(),
'phone' => $this->faker->phoneNumber(),
'role' => 'user', // Regular users have 'user' role
'email_verified_at' => now(),
'password' => static::$password ??= Hash::make('password'),
'remember_token' => Str::random(10),