Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 440 | Revision 1001 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 440 Revision 989
Zeile 6... Zeile 6...
6
    use Illuminate\Database\Eloquent\Factories\HasFactory;
6
    use Illuminate\Database\Eloquent\Factories\HasFactory;
7
    use Illuminate\Foundation\Auth\User as Authenticatable;
7
    use Illuminate\Foundation\Auth\User as Authenticatable;
8
    use Illuminate\Notifications\Notifiable;
8
    use Illuminate\Notifications\Notifiable;
9
    use Laravel\Sanctum\HasApiTokens;
9
    use Laravel\Sanctum\HasApiTokens;
Zeile 10... Zeile 10...
10
 
10
 
11
    class User extends Authenticatable
11
    class BackendUser extends Authenticatable
12
    {
12
    {
Zeile -... Zeile 13...
-
 
13
        use HasApiTokens, HasFactory, Notifiable;
13
        use HasApiTokens, HasFactory, Notifiable;
14
 
14
 
-
 
15
        /**
-
 
16
         * The connection name for the model.
15
 
17
         *
16
        /**
18
         * @var string
17
         * @var string
19
         */
18
         */
20
        protected $connection = 'order';
19
        protected $guarded = "backend";
21
        /**
20
        /**
22
         * The attributes that are mass assignable.
21
         * The attributes that are mass assignable.
23
         *
22
         *