debugging

This commit is contained in:
2018-11-10 15:09:11 -06:00
parent ad2f4ac6d1
commit 7d44a0e15d

View File

@@ -48,7 +48,7 @@ class User extends Authenticatable
//Used in middleware to make sure a user is able to access many of the pages
public function hasRole($role)
{
$check = User::role()->get('role');
$check = User::role()->get(['role']);
//dd($check);
if($check == $role) {
return true;