This commit is contained in:
2019-10-28 16:31:18 -05:00
parent 490e215971
commit 813cb7de13

View File

@@ -95,7 +95,7 @@ class PurgeUsers extends Command
if($failed === false) {
//Get the user's role
$role = UserRole::where(['character_id' => $user->character_id])->first();
dd($role);
//We don't want to modify Admin and SuperUsers. Admins and SuperUsers are removed via a different process.
if($role->role != 'Admin' || $role->role != 'SuperUser') {
//Check if the user is allowed to login