This commit is contained in:
joyqi
2019-03-16 14:50:13 +08:00
parent 8045a0d403
commit 32c2f8217d
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -251,7 +251,8 @@ class Widget_Options extends Typecho_Widget
*/
protected function ___logoutUrl()
{
return Typecho_Common::url('/action/logout', $this->index);
return $this->widget('Widget_Security')->getTokenUrl(
Typecho_Common::url('/action/logout', $this->index));
}
/**