File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Here are some useful quick links:
42
42
43
43
To test out the v3 demo, you can log in to the [ Cachet dashboard] ( https://v3.cachethq.io/dashboard ) with the following credentials:
44
44
45
- - ** Email:** ` test@example .com `
45
+ - ** Email:** ` test@test .com `
46
46
- ** Password:** ` test123 `
47
47
48
48
> ** Note**
Original file line number Diff line number Diff line change 12
12
namespace App \Models ;
13
13
14
14
// use Illuminate\Contracts\Auth\MustVerifyEmail;
15
+ use Filament \Models \Contracts \FilamentUser ;
16
+ use Filament \Panel ;
15
17
use Illuminate \Database \Eloquent \Factories \HasFactory ;
16
18
use Illuminate \Foundation \Auth \User as Authenticatable ;
17
19
use Illuminate \Notifications \Notifiable ;
18
20
use Laravel \Sanctum \HasApiTokens ;
19
21
20
- class User extends Authenticatable
22
+ class User extends Authenticatable implements FilamentUser
21
23
{
22
24
use HasApiTokens;
23
25
use HasFactory;
@@ -53,4 +55,9 @@ class User extends Authenticatable
53
55
'email_verified_at ' => 'datetime ' ,
54
56
'password ' => 'hashed ' ,
55
57
];
58
+
59
+ public function canAccessPanel (Panel $ panel ): bool
60
+ {
61
+ return true ;
62
+ }
56
63
}
You can’t perform that action at this time.
0 commit comments