This commit is contained in:
zhaoke
2023-08-04 13:29:05 +08:00
parent a63ab889e7
commit 18040e4e66
4 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -1356,7 +1356,7 @@ class repoModel extends model
*/
public function setRepoBranch($branch)
{
helper::setcookie("repoBranch", $branch, 0, $this->config->webRoot, '', $this->config->cookieSecure);
helper::setcookie("repoBranch", $branch, 0, $this->config->webRoot, '', $this->config->cookieSecure, false);
$_COOKIE['repoBranch'] = $branch;
}