debugging

This commit is contained in:
2018-11-10 15:22:20 -06:00
parent 22b99ea150
commit f5376ca4e7

View File

@@ -31,7 +31,6 @@ class AuthServiceProvider extends ServiceProvider
$gate->define('isAdmin', function($user) {
$check = DB::table('user_roles')->where('character_id', auth()->user()->character_id)->get(['role']);
printf($check);
if($check === 'Admin') {
return true;
} else {