register form
This commit is contained in:
1 parent
390a98e961
commit
b5d090cf5e
18 files changed
+349
-46
No files matched your search
@@ -30,6 +30,7 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
'email',
|
||||
'konto_id',
|
||||
'password',
|
||||
'role',
|
||||
'super_admin',
|
||||
'app_verified_at',
|
||||
'first_name',
|
||||
@@ -76,6 +77,9 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
{
|
||||
static::addGlobalScope(new KontoScope);
|
||||
|
||||
static::creating(function (User $user) {
|
||||
$user->role = 'gutachter';
|
||||
});
|
||||
}
|
||||
|
||||
public function getAppAuthenticationSecret(): ?string
|
||||
|
||||
Reference in new issue
Block a user