|
|
@ -73,6 +73,7 @@ class AuthApiController extends BaseAuthApiController |
|
|
|
$data['downline_register'] = $this->getLinkParam('downline_register', $agentUser->code); |
|
|
|
$data['downline_register'] = $this->getLinkParam('downline_register', $agentUser->code); |
|
|
|
$data['promotional_link'] = $this->getLinkParam('promotional_link', $agentUser->code); |
|
|
|
$data['promotional_link'] = $this->getLinkParam('promotional_link', $agentUser->code); |
|
|
|
$data['role'] = $user->user_type; |
|
|
|
$data['role'] = $user->user_type; |
|
|
|
|
|
|
|
$data['grant'] = $myAgent->grant; |
|
|
|
|
|
|
|
|
|
|
|
// Creating a token without scopes... |
|
|
|
// Creating a token without scopes... |
|
|
|
$token = $user->createToken($user->id . ' token ' . time(), ['*'])->accessToken; |
|
|
|
$token = $user->createToken($user->id . ' token ' . time(), ['*'])->accessToken; |
|
|
|