allowed login models and update of login controller

This commit is contained in:
2019-01-09 00:20:57 -06:00
parent d57e979dd3
commit c4ab315d76
8 changed files with 114 additions and 51 deletions
+4 -9
View File
@@ -1,22 +1,17 @@
<?php
namespace App\Models\Admin;
namespace App;
use Illuminate\Database\Eloquent\Model;
class AllowedLogin extends Model
{
// Table Name
public $table = 'allowed_login';
//Table Name
public $table = 'allowed_logins';
// Timestamps
//Timestamps
public $timestamps = true;
/**
* The attributes that are mass assignable
*
* @var array
*/
protected $fillable = [
'entity_id',
'entity_type',