|
|
@@ -20,7 +20,7 @@ class LoginProcessor implements ProcessorInterface
|
|
|
public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = [])
|
|
|
{
|
|
|
if ($data instanceof LoginInput) {
|
|
|
- if ($operation->getName() === 'create') {
|
|
|
+ //if ($operation->getName() === 'create') {
|
|
|
$this->validator->validateLoginInput($data);
|
|
|
|
|
|
$customer = Customer::where('email', $data->email)->first();
|
|
|
@@ -71,7 +71,7 @@ class LoginProcessor implements ProcessorInterface
|
|
|
'success' => true,
|
|
|
'message' => __('bagistoapi::app.graphql.login.successful'),
|
|
|
];
|
|
|
- }
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
return (object) [
|