File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ A CakePHP 3.x plugin to handle authentication and user authorization the easy wa
1313## Demo
1414See http://sandbox3.dereuromark.de/auth-sandbox
1515
16- ### auth-allow .ini
16+ ### auth_allow .ini
1717``` ini
1818Users = index,view
1919PluginName.SomeController = *
File renamed without changes.
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ public function initialize() {
2525}
2626```
2727
28- ## auth-allow .ini
28+ ## auth_allow .ini
2929
30- TinyAuth expects an `` auth-allow .ini`` file in your config directory.
30+ TinyAuth expects an `` auth_allow .ini`` file in your config directory.
3131Use it to specify what actions are not protected by authentication.
3232
3333The section key syntax follows the CakePHP naming convention for plugins.
@@ -87,7 +87,6 @@ Option | Type | Description
8787:----- | :--- | :----------
8888autoClearCache|bool|True will generate a new ACL cache file every time.
8989filePath|string|Full path to the acl.ini. Defaults to ` ROOT . DS . 'config' . DS ` .
90- file|string|Name of the INI file. Defaults to ` auth-allow .ini` .
90+ file|string|Name of the INI file. Defaults to ` auth_allow .ini` .
9191cache|string|Cache type. Defaults to ` _cake_core_ ` .
9292cacheKey|string|Cache key. Defaults to ` tiny_auth_allow ` .
93-
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class AuthComponent extends CakeAuthComponent {
2323 'cacheKey ' => 'tiny_auth_allow ' ,
2424 'autoClearCache ' => false , // Set to true to delete cache automatically in debug mode
2525 'filePath ' => null , // Possible to locate ini file at given path e.g. Plugin::configPath('Admin')
26- 'file ' => 'auth-allow .ini ' ,
26+ 'file ' => 'auth_allow .ini ' ,
2727 ];
2828
2929 /**
You can’t perform that action at this time.
0 commit comments