浏览代码

check.php: random subdomain for /ht/add-subdomain

Miraty 1 年之前
父节点
当前提交
e6cc5eed1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jobs/check.php

+ 1 - 1
jobs/check.php

@@ -289,7 +289,7 @@ exit
 	}
 	}
 
 
 	{
 	{
-		$ht_subdomain = 'test3';
+		$ht_subdomain = bin2hex(random_bytes(16));
 
 
 		startTest('subdomain site creation');
 		startTest('subdomain site creation');
 		curlTest('/ht/add-subdomain', [
 		curlTest('/ht/add-subdomain', [