-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe1f4c8
commit f3dda69
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
use yii\base\InvalidConfigException; | ||
|
||
/** | ||
* Graphical user module for Role Based Access Control Yii2 Module. | ||
* Graphical user interface (GUI) module for Role Based Access Control (RBAC) Yii2 Module. | ||
* It also allows to perform basic operations RBAC. | ||
* | ||
* Using in config: | ||
* Using in the your web config: | ||
* ~~~ | ||
* ```php | ||
* 'modules' => [ | ||
|
@@ -23,7 +23,6 @@ | |
* ~~~ | ||
* | ||
* @author Evgeniy Tkachenko <[email protected]> | ||
* @since 2.0 | ||
*/ | ||
class Module extends \yii\base\Module | ||
{ | ||
|
@@ -33,7 +32,7 @@ class Module extends \yii\base\Module | |
public function init() | ||
{ | ||
if (\Yii::$app->authManager === null) { | ||
throw new InvalidConfigException('You should configure authManager component'); | ||
throw new InvalidConfigException('You should configure the authManager component.'); | ||
} | ||
parent::init(); | ||
} | ||
|