register form

This commit is contained in:
salam committed 2025-09-20 16:26:01 +02:00
1 parent 390a98e961
commit b5d090cf5e
18 files changed
+349 -46

No files matched your search

+4
View File
@@ -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