restore acore_auth
This commit is contained in:
@@ -63,7 +63,7 @@ class ImportWebAccountsToVMangos extends Command
|
||||
if ($credential?->web_user_id !== null) {
|
||||
throw new RuntimeException("Account already belongs to another web user; web.users ID {$user->id}.");
|
||||
}
|
||||
if ($existing && $existing->email && strcasecmp(trim($existing->email), trim($user->email)) !== 0) {
|
||||
if ($existing && $existing->email && $user->email !== null && strcasecmp(trim($existing->email), trim($user->email)) !== 0) {
|
||||
throw new RuntimeException("Existing game account email differs for web.users ID {$user->id}; resolve the conflict before importing.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user