purge users

This commit is contained in:
2019-10-22 22:52:46 -05:00
parent 31420ed236
commit d3f8389cfb

View File

@@ -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)) {