Permalink
Browse files

Updating Documentation and CookieAuthenticate with bugfixes

  • Loading branch information...
1 parent 143083f commit 2c1b88a04bffb7e579ddf4d3171aabe093a2c9bd @Dunhamzzz Dunhamzzz committed Apr 16, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 Controller/Component/Auth/CookieAuthenticate.php
  2. +4 −4 readme.textile
@@ -1,5 +1,5 @@
<?php
-App::uses('BaseAuthenticate', 'Authenticate.Controller/Component/Auth');
+App::uses('BaseAuthenticate', 'Controller/Component/Auth');
/**
* An authentication adapter for AuthComponent. Provides the ability to authenticate using COOKIE
View
@@ -47,7 +47,7 @@ Example for MultiColumnAuthenticate:
//in $components
public $components = array(
'Auth' => array(
- authenticate = array(
+ 'authenticate' => array(
'Authenticate.MultiColumn' => array(
'fields' => array(
'username' => 'login',
@@ -79,7 +79,7 @@ Example for CookieAuthenticate:
//in $components
public $components = array(
'Auth' => array(
- authenticate = array(
+ 'authenticate' => array(
'Authenticate.Cookie' => array(
'fields' => array(
'username' => 'login',
@@ -109,7 +109,7 @@ Example to setup both, it will first try to read the cookie, if that fails will
//in $components
public $components = array(
'Auth' => array(
- authenticate = array(
+ 'authenticate' => array(
'Authenticate.Cookie' => array(
'fields' => array(
'username' => 'login',
@@ -152,4 +152,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+THE SOFTWARE.

0 comments on commit 2c1b88a

Please sign in to comment.