mirror of
https://github.com/typecho/typecho.git
synced 2025-03-20 01:49:40 +01:00
修正cookies设定
This commit is contained in:
parent
2b9cf7755a
commit
605a035b86
@ -779,7 +779,7 @@ class Widget_Archive extends Widget_Abstract_Contents
|
||||
|
||||
/** 保存密码至cookie */
|
||||
if ($this->request->isPost() && isset($this->request->protectPassword)) {
|
||||
Typecho_Cookie::set('protectPassword', $this->request->protectPassword, 0, $this->options->siteUrl);
|
||||
Typecho_Cookie::set('protectPassword', $this->request->protectPassword, 0);
|
||||
}
|
||||
|
||||
/** 匹配类型 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user