chore: merge master

This commit is contained in:
Maël Gangloff
2024-08-17 22:05:48 +02:00
14 changed files with 215 additions and 85 deletions

View File

@@ -43,7 +43,7 @@ class JWTAuthenticator implements AuthenticationSuccessHandlerInterface
new Cookie(
'BEARER',
$jwt,
time() + 7200, // expiration
time() + 604800, // expiration
'/',
null,
true,

View File

@@ -75,7 +75,7 @@ class OAuthAuthenticator extends OAuth2Authenticator implements AuthenticationEn
new Cookie(
'BEARER',
$token,
time() + 7200, // expiration
time() + 604800, // expiration
'/',
null,
true,

View File

@@ -278,6 +278,8 @@ readonly class RDAPService
}
if (array_key_exists('nameservers', $res) && is_array($res['nameservers'])) {
$domain->getNameservers()->clear();
foreach ($res['nameservers'] as $rdapNameserver) {
$nameserver = $this->nameserverRepository->findOneBy([
'ldhName' => strtolower($rdapNameserver['ldhName']),