debugging

This commit is contained in:
2018-11-10 15:19:23 -06:00
parent ed9222f105
commit 22b99ea150
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -31,6 +31,7 @@ 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 {