diff --git a/src/Api/Model/Shared/UserListModel.php b/src/Api/Model/Shared/UserListModel.php index e4a4e945f8..0ec4123157 100644 --- a/src/Api/Model/Shared/UserListModel.php +++ b/src/Api/Model/Shared/UserListModel.php @@ -10,7 +10,7 @@ public function __construct() { parent::__construct( UserModelMongoMapper::instance(), - ["username" => ['$regex' => ""], "isDeleted" => false], + ["username" => ['$regex' => ""], "isDeleted" => ['$in' => [false, null]]], ["username", "email", "name", "avatar_ref", "role", "projects", "active"] ); } diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000000..c2a49f4fb8 --- /dev/null +++ b/src/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /