Commit d2f35f20 by Qiang Xue

Fixes issue #124.

parent 8c11a4b7
......@@ -9,9 +9,6 @@ namespace yii\web;
use yii\base\Component;
use yii\base\Action;
use yii\base\Controller;
use yii\web\User;
use yii\web\Request;
/**
*
......
......@@ -461,7 +461,7 @@ class User extends Component
if ($auth !== null) {
return $auth->checkAccess($this->getId(), $operation, $params);
} else {
return true;
return false;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment