mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Revert auth changes
This commit is contained in:
parent
7f7b23181f
commit
7f7a2c7dfb
1 changed files with 4 additions and 2 deletions
|
|
@ -11,8 +11,6 @@ use Utopia\Domains\Domain;
|
||||||
|
|
||||||
require_once __DIR__.'/../init.php';
|
require_once __DIR__.'/../init.php';
|
||||||
|
|
||||||
Authorization::disable();
|
|
||||||
|
|
||||||
Console::title('Certificates V1 Worker');
|
Console::title('Certificates V1 Worker');
|
||||||
Console::success(APP_NAME . ' certificates worker v1 has started');
|
Console::success(APP_NAME . ' certificates worker v1 has started');
|
||||||
|
|
||||||
|
|
@ -42,6 +40,8 @@ class CertificatesV1 extends Worker
|
||||||
* 3.5. Schedule to renew certificate in 60 days
|
* 3.5. Schedule to renew certificate in 60 days
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Authorization::disable();
|
||||||
|
|
||||||
// Args
|
// Args
|
||||||
$document = $this->args['document'];
|
$document = $this->args['document'];
|
||||||
$domain = $this->args['domain'];
|
$domain = $this->args['domain'];
|
||||||
|
|
@ -206,6 +206,8 @@ class CertificatesV1 extends Worker
|
||||||
'validateTarget' => $validateTarget,
|
'validateTarget' => $validateTarget,
|
||||||
'validateCNAME' => $validateCNAME,
|
'validateCNAME' => $validateCNAME,
|
||||||
]); // Async task rescheduale
|
]); // Async task rescheduale
|
||||||
|
|
||||||
|
Authorization::reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function shutdown(): void
|
public function shutdown(): void
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue