mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:51:07 +03:30
change default spatie guard name to api
This commit is contained in:
@@ -27,6 +27,8 @@ class User extends Authenticatable
|
||||
'email_verified_at' => 'datetime',
|
||||
];
|
||||
|
||||
protected function getDefaultGuardName(): string { return 'api'; }
|
||||
|
||||
public function medical_center(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(MedicalCenter::class);
|
||||
|
||||
Reference in New Issue
Block a user