Browse Source

Fixes issue #124.

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
d2f35f2062
  1. 3
      framework/web/AccessRule.php
  2. 2
      framework/web/User.php

3
framework/web/AccessRule.php

@ -9,9 +9,6 @@ namespace yii\web;
use yii\base\Component; use yii\base\Component;
use yii\base\Action; use yii\base\Action;
use yii\base\Controller;
use yii\web\User;
use yii\web\Request;
/** /**
* *

2
framework/web/User.php

@ -461,7 +461,7 @@ class User extends Component
if ($auth !== null) { if ($auth !== null) {
return $auth->checkAccess($this->getId(), $operation, $params); return $auth->checkAccess($this->getId(), $operation, $params);
} else { } else {
return true; return false;
} }
} }
} }

Loading…
Cancel
Save