wip
This commit is contained in:
1 parent
3072012c07
commit
2cb88a4290
12 files changed
+170
-156
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\Scopes\KontoScope;
|
||||
use Filament\Auth\MultiFactor\App\Contracts\HasAppAuthentication;
|
||||
use Filament\Auth\MultiFactor\App\Contracts\HasAppAuthenticationRecovery;
|
||||
use Filament\Auth\MultiFactor\Email\Contracts\HasEmailAuthentication;
|
||||
@@ -27,6 +28,7 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'email',
|
||||
'konto_id',
|
||||
'password',
|
||||
'super_admin',
|
||||
'app_verified_at',
|
||||
@@ -70,6 +72,12 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
];
|
||||
}
|
||||
|
||||
// protected static function booted(): void
|
||||
// {
|
||||
// static::addGlobalScope(new KontoScope);
|
||||
|
||||
// }
|
||||
|
||||
public function getAppAuthenticationSecret(): ?string
|
||||
{
|
||||
// This method should return the user's saved app authentication secret.
|
||||
|
||||
Reference in new issue
Block a user