allowed login models and update of login controller

This commit is contained in:
2019-01-09 01:12:13 -06:00
parent 2304ad653c
commit 120378f293
10 changed files with 9 additions and 62 deletions

View File

@@ -21,7 +21,7 @@ class DashboardController extends Controller
public function __construct()
{
$this->middleware('auth');
$this->middleware('role:Guest');
$this->middleware('permission:role.guest');
}
/**