fix: typo

This commit is contained in:
fen
2023-12-30 00:13:02 +08:00
parent dde84fe0aa
commit fef2ec2377
2 changed files with 2 additions and 2 deletions

View File

@@ -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));

View File

@@ -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);
}
}
}