purge users
This commit is contained in:
@@ -85,7 +85,7 @@ class PurgeUsers extends Command
|
|||||||
//If the fail bit is still false, then continue
|
//If the fail bit is still false, then continue
|
||||||
if($failed === false) {
|
if($failed === false) {
|
||||||
//Get the user's role
|
//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
|
//Check if the user is allowed to login
|
||||||
if(isset($corp_info->alliance_id)) {
|
if(isset($corp_info->alliance_id)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user