mirror of
https://github.com/typecho/typecho.git
synced 2025-04-04 18:22:23 +02:00
fix user options
This commit is contained in:
parent
9122d2ab49
commit
93a3229c6d
@ -289,6 +289,7 @@ class Widget_XmlRpc extends Widget_Abstract_Contents implements Widget_Interface
|
||||
if ($this->user->login($name, $password, true)) {
|
||||
/** 验证权限 */
|
||||
if ($this->user->pass($level, true)) {
|
||||
$this->user->execute();
|
||||
return true;
|
||||
} else {
|
||||
$this->error = new IXR_Error(403, _t('权限不足'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user