diff --git a/app/config/platforms.php b/app/config/platforms.php index 639fa5c67c..b066ee53cc 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -185,7 +185,7 @@ return [ [ 'key' => 'web', 'name' => 'Console', - 'version' => '0.6.0-rc.2', + 'version' => '0.6.0-rc.3', 'url' => 'https://github.com/appwrite/sdk-for-console', 'package' => '', 'enabled' => true, diff --git a/src/Appwrite/Utopia/Response/Model/User.php b/src/Appwrite/Utopia/Response/Model/User.php index 34e7c31621..98ff3bcf6e 100644 --- a/src/Appwrite/Utopia/Response/Model/User.php +++ b/src/Appwrite/Utopia/Response/Model/User.php @@ -120,6 +120,12 @@ class User extends Model 'default' => false, 'example' => true, ]) + ->addRule('totp', [ + 'type' => self::TYPE_BOOLEAN, + 'description' => 'TOTP status.', + 'default' => false, + 'example' => true, + ]) ->addRule('prefs', [ 'type' => Response::MODEL_PREFERENCES, 'description' => 'User preferences as a key-value object',