agb registrierung wip

This commit is contained in:
salam committed 2025-09-21 08:28:49 +02:00
1 parent b5d090cf5e
commit 04e2797667
13 files changed
+343 -68

No files matched your search

+11 -2
View File
@@ -27,6 +27,8 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
*/
protected $fillable = [
'name',
'first_name',
'last_name',
'email',
'konto_id',
'password',
@@ -36,12 +38,16 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
'first_name',
'last_name',
'gender',
'title',
'company',
'uid_number',
'address',
'place',
'location',
'code',
'country',
'kontoemail',
'phone',
'uid_number',
];
/**
@@ -78,6 +84,9 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
static::addGlobalScope(new KontoScope);
static::creating(function (User $user) {
dd($user);
$user->role = 'gutachter';
});
}