From d3f8389cfb6903aace9d0e2e36e7a9a0f4ba304d Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Tue, 22 Oct 2019 22:52:46 -0500 Subject: [PATCH] purge users --- app/Console/Commands/Users/PurgeUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/Users/PurgeUsers.php b/app/Console/Commands/Users/PurgeUsers.php index f4019ac37..e8667c2ec 100644 --- a/app/Console/Commands/Users/PurgeUsers.php +++ b/app/Console/Commands/Users/PurgeUsers.php @@ -85,7 +85,7 @@ class PurgeUsers extends Command //If the fail bit is still false, then continue if($failed === false) { //Get the user's role - $role = UserRole::where(['character_id'])->first(); + $role = UserRole::where(['character_id' => $user->character_id])->first(); //Check if the user is allowed to login if(isset($corp_info->alliance_id)) {