Skip to content

Commit 3542b6f

Browse files
authored
Merge pull request #39 from Draniu/hyphen-to-underscore
Hyphen to underscore
2 parents 4221ec9 + 0b5a9c8 commit 3542b6f

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A CakePHP 3.x plugin to handle authentication and user authorization the easy wa
1313
## Demo
1414
See http://sandbox3.dereuromark.de/auth-sandbox
1515

16-
### auth-allow.ini
16+
### auth_allow.ini
1717
```ini
1818
Users = index,view
1919
PluginName.SomeController = *
File renamed without changes.

docs/Authentication.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
3131
Use it to specify what actions are not protected by authentication.
3232

3333
The section key syntax follows the CakePHP naming convention for plugins.
@@ -87,7 +87,6 @@ Option | Type | Description
8787
:----- | :--- | :----------
8888
autoClearCache|bool|True will generate a new ACL cache file every time.
8989
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`.
9191
cache|string|Cache type. Defaults to `_cake_core_`.
9292
cacheKey|string|Cache key. Defaults to `tiny_auth_allow`.
93-

src/Controller/Component/AuthComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)