From dc92498d93e77c1f236ff2b86944ceb94337e1e1 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 11 May 2021 17:06:55 +0545 Subject: [PATCH] disable auth for writing --- app/controllers/general.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/general.php b/app/controllers/general.php index a7df8426fb..559e3baab3 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -63,7 +63,9 @@ App::init(function ($utopia, $request, $response, $console, $project, $consoleDB ], 'domain' => $domain->get(), ]; + Authorization::disable(); $dbDomain = $consoleDB->createDocument($dbDomain); + Authorization::enable(); Console::info('Issuing a TLS certificate for the master domain (' . $domain->get() . ') in 30 seconds. Make sure your domain points to your server IP or restart your Appwrite server to try again.'); // TODO move this to installation script