allowed login models and update of login controller

This commit is contained in:
2019-01-09 01:29:44 -06:00
parent 352f63ae80
commit 677c612841
3 changed files with 8 additions and 41 deletions
-28
View File
@@ -1,28 +0,0 @@
<?php
namespace App\Models\User;
use Illuminate\Database\Eloquent\Model;
class UserRole extends Model
{
// Table Name
protected $table = 'user_roles';
// Timestamps
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'character_id',
'role',
];
public function user() {
return $this->belongsTo(User::class);
}
}