mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-27 08:24:39 +00:00
cross login
This commit is contained in:
@@ -59,12 +59,9 @@ class CrossAuthenticationProcessor
|
||||
|
||||
$this->canCrossAuthenticateUser->passes($object);
|
||||
|
||||
$this->crossAuthenticatesUser->execute($object);
|
||||
|
||||
$user = $this->fetchesUser->execute(['email' => $object->getEmail()]);
|
||||
$cross = $this->crossAuthenticatesUser->execute($object);
|
||||
dd($cross);
|
||||
|
||||
return ['access_token' => $this->generatesAuthenticationToken->execute($user), 'redirect_url' => $this->authenticationRedirect->url($user)];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user