chore: fmt
This commit is contained in:
parent
521cb963a5
commit
0a0479f4c5
|
@ -777,7 +777,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
|
|||
|
||||
$duration = $project->getAttribute('auths', [])['duration'] ?? Auth::TOKEN_EXPIRATION_LOGIN_LONG;
|
||||
$expire = DateTime::formatTz(DateTime::addSeconds(new \DateTime(), $duration));
|
||||
|
||||
|
||||
// If the `token` param is set, we will return the token in the query string
|
||||
if ($state['token']) {
|
||||
$secret = Auth::tokenGenerator(Auth::TOKEN_LENGTH_OAUTH2);
|
||||
|
|
|
@ -155,10 +155,10 @@ class OpenAPI3 extends Format
|
|||
if (empty($routeSecurity)) {
|
||||
if (!$route->getLabel('sdk.hideServer', false)) {
|
||||
$sdkPlatforms[] = APP_PLATFORM_SERVER;
|
||||
}
|
||||
}
|
||||
if (!$route->getLabel('sdk.hideClient', false)) {
|
||||
$sdkPlatforms[] = APP_PLATFORM_CLIENT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$temp = [
|
||||
|
|
Loading…
Reference in a new issue