fix: typo
This commit is contained in:
@@ -96,7 +96,7 @@ class User extends Users
|
||||
} else {
|
||||
$cookieUid = Cookie::get('__typecho_uid');
|
||||
if (null !== $cookieUid) {
|
||||
/** 验证登陆 */
|
||||
/** 验证登录 */
|
||||
$user = $this->db->fetchRow($this->db->select()->from('table.users')
|
||||
->where('uid = ?', intval($cookieUid))
|
||||
->limit(1));
|
||||
|
||||
@@ -224,7 +224,7 @@ class XmlRpc extends Contents implements ActionInterface, Hook
|
||||
throw new Exception(_t('权限不足'), 403);
|
||||
}
|
||||
} else {
|
||||
throw new Exception(_t('无法登陆, 密码错误'), 403);
|
||||
throw new Exception(_t('无法登录, 密码错误'), 403);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user