This commit is contained in:
joyqi 2020-10-03 21:20:27 +08:00
parent bba332531b
commit 74c8143825
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<?php
/**
* 这是 Typecho 0.9 系统的一套默认皮肤
* Default theme for Typecho
*
* @package Typecho Replica Theme
* @author Typecho Team

View File

@ -184,12 +184,14 @@ class Widget_User extends Typecho_Widget
->limit(1));
if (empty($user)) {
$this->pluginHandle()->simpleLoginFail($this);
return false;
}
$this->push($user);
$this->_hasLogin = true;
$this->pluginHandle()->simpleLoginSucceed($this, $user);
return true;
}