diff --git a/app/controllers/general.php b/app/controllers/general.php index 4e8b051809..233dfd691c 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -15,6 +15,7 @@ use Appwrite\Database\Document; use Appwrite\Database\Validator\Authorization; use Appwrite\Network\Validator\Origin; use Appwrite\Utopia\Response\Filters\V06; +use Appwrite\Utopia\Response\Filters\V07; use Utopia\CLI\Console; use Utopia\Database\Validator\Authorization as Authorization2; @@ -136,6 +137,9 @@ App::init(function ($utopia, $request, $response, $console, $project, $consoleDB case version_compare ($responseFormat , '0.6.2', '<=') : Response::setFilter(new V06()); break; + case version_compare ($responseFormat , '0.7.2', '<=') : + Response::setFilter(new V07()); + break; default: Response::setFilter(null); } diff --git a/app/views/console/users/index.phtml b/app/views/console/users/index.phtml index b750a3f94d..8cb4b7e55c 100644 --- a/app/views/console/users/index.phtml +++ b/app/views/console/users/index.phtml @@ -77,7 +77,7 @@ $auth = $this->getParam('auth', []); - ----- + ----- @@ -414,6 +414,7 @@ $auth = $this->getParam('auth', []);

escape($name); ?> Sandbox OAuth2 Settings

getParam('auth', []); data-failure="alert" data-failure-param-alert-text="Failed to update project OAuth2 settings" data-failure-param-alert-classname="error"> + + + + diff --git a/app/views/home/auth/signup.phtml b/app/views/home/auth/signup.phtml index f6dcaba651..cf30591774 100644 --- a/app/views/home/auth/signup.phtml +++ b/app/views/home/auth/signup.phtml @@ -1,7 +1,14 @@ getParam('root') !== 'disabled'); ?> -
+