This commit is contained in:
CHIEFSOFT\ameye
2024-04-26 10:31:53 -04:00
parent 3628c4f2f2
commit ca92837b47
5 changed files with 130 additions and 7 deletions
+3 -6
View File
@@ -33,7 +33,7 @@ class DigiFiAuth extends BaseController
$payload = array(
"iss" => "Issuer of the JWT",
"aud" => "Audience that the JWT",
"sub" => "Subject of the JWT",
"sub" => "Backoffice VerifiedT",
"iat" => $iat, //Time the JWT issued at
"exp" => $exp, // Expiration time of token
"user_detail" =>$final_out,
@@ -44,6 +44,8 @@ class DigiFiAuth extends BaseController
$response = [
'message' => 'Login was successful',
'call_return' => '100',
'name' => 'didiFy Admin',
'username' => $data['username'],
'token' => $token
];
@@ -57,10 +59,5 @@ class DigiFiAuth extends BaseController
];
return $this->fail($response , 409);
}
//return json_encode( $response );
}
}