Hi Tazz
Apart the tutorial on the bakery which demonstrates how to install the
component how do you use it to restrict access to some controllers and
views?
dauth only provides user authentication. Once a user has registered and
logged in dauth stores their user details in the session. You can check
the session using something like:
$user = $this->Session->read('User');
If the user data is set, then the user is signed in, if not, then force
the app to redirect to the login page, or give an error.
Bassically I'm creating a simple app that requires a one user login. I
just want to make sure that user is loged in before they can access
certain parts of the site...
Then dauth will do that nicely.
Regards,
Langdon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---