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
13
13
## Demo
14
14
See http://sandbox3.dereuromark.de/auth-sandbox
15
15
16
- ### auth-allow .ini
16
+ ### auth_allow .ini
17
17
``` ini
18
18
Users = index,view
19
19
PluginName.SomeController = *
File renamed without changes.
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ public function initialize() {
25
25
}
26
26
```
27
27
28
- ## auth-allow .ini
28
+ ## auth_allow .ini
29
29
30
- TinyAuth expects an `` auth-allow .ini`` file in your config directory.
30
+ TinyAuth expects an `` auth_allow .ini`` file in your config directory.
31
31
Use it to specify what actions are not protected by authentication.
32
32
33
33
The section key syntax follows the CakePHP naming convention for plugins.
@@ -87,7 +87,6 @@ Option | Type | Description
87
87
:----- | :--- | :----------
88
88
autoClearCache|bool|True will generate a new ACL cache file every time.
89
89
filePath|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` .
91
91
cache|string|Cache type. Defaults to ` _cake_core_ ` .
92
92
cacheKey|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 {
23
23
'cacheKey ' => 'tiny_auth_allow ' ,
24
24
'autoClearCache ' => false , // Set to true to delete cache automatically in debug mode
25
25
'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 ' ,
27
27
];
28
28
29
29
/**
You can’t perform that action at this time.
0 commit comments