<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CakePHP Auth Component For Dummies Tutorial</title>
	<atom:link href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/</link>
	<description>Quick and Dirty Web Development for Web 2.0: CakePHP, Prototype, JQuery, and lots more.</description>
	<lastBuildDate>Thu, 20 Oct 2011 05:21:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mahendra</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28527</link>
		<dc:creator>mahendra</dc:creator>
		<pubDate>Wed, 08 Sep 2010 11:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28527</guid>
		<description>hiiii...would you help me to get some tutorial auth n login in cakephp 1.3?
I&#039;m confused try it but never works.
send me a message at deem_014@yahoo.com
thank you..
:)</description>
		<content:encoded><![CDATA[<p>hiiii&#8230;would you help me to get some tutorial auth n login in cakephp 1.3?<br />
I&#8217;m confused try it but never works.<br />
send me a message at <a href="mailto:deem_014@yahoo.com">deem_014@yahoo.com</a><br />
thank you..<br />
 <img src='http://www.webdevelopment2.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: w</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28512</link>
		<dc:creator>w</dc:creator>
		<pubDate>Mon, 09 Aug 2010 10:45:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28512</guid>
		<description>qweq</description>
		<content:encoded><![CDATA[<p>qweq</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fairuz</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28502</link>
		<dc:creator>fairuz</dc:creator>
		<pubDate>Thu, 15 Jul 2010 01:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28502</guid>
		<description>Hello Kevin, how to create multi user access level with different model controller.
It same like ACL but i not need using ACL coz ACL cache more data. I m using CakePHP 1.3.2</description>
		<content:encoded><![CDATA[<p>Hello Kevin, how to create multi user access level with different model controller.<br />
It same like ACL but i not need using ACL coz ACL cache more data. I m using CakePHP 1.3.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mats</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28494</link>
		<dc:creator>Mats</dc:creator>
		<pubDate>Mon, 05 Jul 2010 21:20:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28494</guid>
		<description>Could you please add this to your beforeFilter?
if (isset($this-&gt;params[&#039;requested&#039;])) {
			$this-&gt;Auth-&gt;allow($this-&gt;action);
		}

It&#039;s for when you get stuck in an infinite redirect loop because of an Element with an inline request on the page that renders the login form. =)</description>
		<content:encoded><![CDATA[<p>Could you please add this to your beforeFilter?<br />
if (isset($this-&gt;params['requested'])) {<br />
			$this-&gt;Auth-&gt;allow($this-&gt;action);<br />
		}</p>
<p>It&#8217;s for when you get stuck in an infinite redirect loop because of an Element with an inline request on the page that renders the login form. =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NewBaker</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28423</link>
		<dc:creator>NewBaker</dc:creator>
		<pubDate>Mon, 15 Mar 2010 04:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28423</guid>
		<description>Great stuff. 
Hi guys, I&#039;m having trouble with combining my register and log in view. On the Users Controller I have two actions: registration and login and both action work different views, but when I combine the views to make it look like Facebook (i.e. the reg and login is on the same view), then it throws this error: &quot;Error:  The view for UsersController::registration() was not found.&quot;
Anybody help please!</description>
		<content:encoded><![CDATA[<p>Great stuff.<br />
Hi guys, I&#8217;m having trouble with combining my register and log in view. On the Users Controller I have two actions: registration and login and both action work different views, but when I combine the views to make it look like Facebook (i.e. the reg and login is on the same view), then it throws this error: &#8220;Error:  The view for UsersController::registration() was not found.&#8221;<br />
Anybody help please!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CakePHP and the (in)famous Auth component &#171; Westsworld</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28414</link>
		<dc:creator>CakePHP and the (in)famous Auth component &#171; Westsworld</dc:creator>
		<pubDate>Wed, 24 Feb 2010 23:55:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28414</guid>
		<description>[...] are explained here A Hopefully Useful Tutorial For Using CakePHP’s Auth Component and CakePHP Auth Component For Dummies Tutorial (so no need to go through it here as [...]</description>
		<content:encoded><![CDATA[<p>[...] are explained here A Hopefully Useful Tutorial For Using CakePHP’s Auth Component and CakePHP Auth Component For Dummies Tutorial (so no need to go through it here as [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foroct Fralion</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28297</link>
		<dc:creator>Foroct Fralion</dc:creator>
		<pubDate>Tue, 29 Dec 2009 03:24:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28297</guid>
		<description>sorry I meant to say

$this-&gt;Auth-&gt;loginRedirect = array(‘controller’ =&gt; ‘users’, ‘action’ =&gt; ‘view’, $auth[&#039;User&#039;][&#039;username&#039;] );

Obviously passing the password field would not work</description>
		<content:encoded><![CDATA[<p>sorry I meant to say</p>
<p>$this-&gt;Auth-&gt;loginRedirect = array(‘controller’ =&gt; ‘users’, ‘action’ =&gt; ‘view’, $auth['User']['username'] );</p>
<p>Obviously passing the password field would not work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Foroct Fralion</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28296</link>
		<dc:creator>Foroct Fralion</dc:creator>
		<pubDate>Tue, 29 Dec 2009 03:21:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28296</guid>
		<description>Thanks for this tutorial it has helped me to do many of the things I wanted to do with my cake project. 

I am having one problem though.  I want a user to be able to log in and be redirected to their user page.  Your example shows $this-&gt;Auth-&gt;loginRedirect = array(‘controller’ =&gt; ‘pages’, ‘display’ =&gt; ‘home’) and I know that by calling $auth[&#039;User&#039;][&#039;username&#039;] I can call up the logged in users username so I figured that I could use 

$this-&gt;Auth-&gt;loginRedirect = array(&#039;controller&#039; =&gt; &#039;users&#039;, &#039;action&#039; =&gt; &#039;view&#039;, $auth[&#039;User&#039;][&#039;password&#039;] );

but that doesn&#039;t work.  Do you have any thoughts as to how I would allow a person to log in and redirect them to a their user page (/users/view/username)?

Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial it has helped me to do many of the things I wanted to do with my cake project. </p>
<p>I am having one problem though.  I want a user to be able to log in and be redirected to their user page.  Your example shows $this-&gt;Auth-&gt;loginRedirect = array(‘controller’ =&gt; ‘pages’, ‘display’ =&gt; ‘home’) and I know that by calling $auth['User']['username'] I can call up the logged in users username so I figured that I could use </p>
<p>$this-&gt;Auth-&gt;loginRedirect = array(&#8216;controller&#8217; =&gt; &#8216;users&#8217;, &#8216;action&#8217; =&gt; &#8216;view&#8217;, $auth['User']['password'] );</p>
<p>but that doesn&#8217;t work.  Do you have any thoughts as to how I would allow a person to log in and redirect them to a their user page (/users/view/username)?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Lloyd</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28043</link>
		<dc:creator>Kevin Lloyd</dc:creator>
		<pubDate>Fri, 06 Nov 2009 05:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28043</guid>
		<description>I didn&#039;t notice this for a long while. Thank you.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t notice this for a long while. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-4/#comment-28034</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 24 Oct 2009 16:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-28034</guid>
		<description>I&#039;m interested in downloading the source files for this tutorial, but the page says that &quot;You need to be a registered user to download this file.&quot;, but I can&#039;t find any way of registering.</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in downloading the source files for this tutorial, but the page says that &#8220;You need to be a registered user to download this file.&#8221;, but I can&#8217;t find any way of registering.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27957</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sun, 13 Sep 2009 16:47:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27957</guid>
		<description>$this-&gt;Auth-&gt;authorize = ...; allows you to set
function isAuthorized(){
...
}
and you can determine how the user is actually authorized instead of having the AuthComponent do it automatically by comparing the user model.
So setting it to &#039;controller&#039; you would define the isAuthorized() method in your controller.
You could also set it to &#039;model&#039; and stick the isAuthorized() method inside the model.  There are also more settings such as &#039;actions&#039; and &#039;crud&#039; which are explained in more detail at http://book.cakephp.org/view/248/AuthComponent-Variables
-Sam</description>
		<content:encoded><![CDATA[<p>$this-&gt;Auth-&gt;authorize = &#8230;; allows you to set<br />
function isAuthorized(){<br />
&#8230;<br />
}<br />
and you can determine how the user is actually authorized instead of having the AuthComponent do it automatically by comparing the user model.<br />
So setting it to &#8216;controller&#8217; you would define the isAuthorized() method in your controller.<br />
You could also set it to &#8216;model&#8217; and stick the isAuthorized() method inside the model.  There are also more settings such as &#8216;actions&#8217; and &#8216;crud&#8217; which are explained in more detail at <a href="http://book.cakephp.org/view/248/AuthComponent-Variables" rel="nofollow">http://book.cakephp.org/view/248/AuthComponent-Variables</a><br />
-Sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wahid Sadik</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27936</link>
		<dc:creator>Wahid Sadik</dc:creator>
		<pubDate>Mon, 17 Aug 2009 01:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27936</guid>
		<description>Kevin, this is exactly what I needed. Thank you so much for the tutorial.</description>
		<content:encoded><![CDATA[<p>Kevin, this is exactly what I needed. Thank you so much for the tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lien</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27930</link>
		<dc:creator>lien</dc:creator>
		<pubDate>Mon, 03 Aug 2009 09:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27930</guid>
		<description>I also got the file does not exist. Are we doing something wrong?</description>
		<content:encoded><![CDATA[<p>I also got the file does not exist. Are we doing something wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kodegeek</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27916</link>
		<dc:creator>kodegeek</dc:creator>
		<pubDate>Tue, 14 Jul 2009 09:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27916</guid>
		<description>I&#039;m facing a strange problem, allowed an action for users controller(forgetpassword) from app controller but it doesn&#039;t allow to access. any sol???</description>
		<content:encoded><![CDATA[<p>I&#8217;m facing a strange problem, allowed an action for users controller(forgetpassword) from app controller but it doesn&#8217;t allow to access. any sol???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cake php auth tutorial for dummies &#124; Unconventional Lippolis</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27915</link>
		<dc:creator>Cake php auth tutorial for dummies &#124; Unconventional Lippolis</dc:creator>
		<pubDate>Fri, 10 Jul 2009 11:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27915</guid>
		<description>[...] php auth tutorial for dummies http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/   Tags auth, cakephp, tutorial Categories [...]</description>
		<content:encoded><![CDATA[<p>[...] php auth tutorial for dummies <a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/" rel="nofollow">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/</a>   Tags auth, cakephp, tutorial Categories [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cakephp Auth tutorial: http://www.webdev&#8230; &#124; Simone Lippolis' bookmarks</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27914</link>
		<dc:creator>Cakephp Auth tutorial: http://www.webdev&#8230; &#124; Simone Lippolis' bookmarks</dc:creator>
		<pubDate>Fri, 03 Jul 2009 15:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27914</guid>
		<description>[...] Auth tutorial: http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/   [...]</description>
		<content:encoded><![CDATA[<p>[...] Auth tutorial: <a href="http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/" rel="nofollow">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/</a>   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baz L</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27771</link>
		<dc:creator>Baz L</dc:creator>
		<pubDate>Sun, 14 Dec 2008 04:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27771</guid>
		<description>Not a problem. I&#039;ve been dragging my feet about doing an appropriate followup</description>
		<content:encoded><![CDATA[<p>Not a problem. I&#8217;ve been dragging my feet about doing an appropriate followup</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Arif Hossen</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27770</link>
		<dc:creator>Mohammad Arif Hossen</dc:creator>
		<pubDate>Sun, 14 Dec 2008 04:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27770</guid>
		<description>Thanks for Auth Tutorial.</description>
		<content:encoded><![CDATA[<p>Thanks for Auth Tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bakephp</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27570</link>
		<dc:creator>bakephp</dc:creator>
		<pubDate>Tue, 30 Sep 2008 06:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27570</guid>
		<description>i tried downloading the file it gives
&quot;File does not exist.&quot;  =(</description>
		<content:encoded><![CDATA[<p>i tried downloading the file it gives<br />
&#8220;File does not exist.&#8221;  =(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitaly</title>
		<link>http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/comment-page-3/#comment-27560</link>
		<dc:creator>Vitaly</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/#comment-27560</guid>
		<description>I&#039;m just beginning with Cake and maybe the question seems stupid, but... I have copied the files from archive to the Cake&#039;s &#039;app&#039; folder, created the database by executing the SQL script in the &#039;auth.sql&#039; file and configured &#039;database.php&#039; and &#039;core.php&#039; files just like I did for the Cake&#039;s blog tutorial. Then I pointed Firefox to &#039;localhost/cake/users/login&#039;, entered some data into the username and password fields and hit &#039;Sign in&#039;, but nothing happened (I also tried to add some users to the &#039;users&#039; table - same story). Only query in the log table below the login form changes...
Is it supposed to be that way?

P.S. I use Cake 1.2 RC2</description>
		<content:encoded><![CDATA[<p>I&#8217;m just beginning with Cake and maybe the question seems stupid, but&#8230; I have copied the files from archive to the Cake&#8217;s &#8216;app&#8217; folder, created the database by executing the SQL script in the &#8216;auth.sql&#8217; file and configured &#8216;database.php&#8217; and &#8216;core.php&#8217; files just like I did for the Cake&#8217;s blog tutorial. Then I pointed Firefox to &#8216;localhost/cake/users/login&#8217;, entered some data into the username and password fields and hit &#8216;Sign in&#8217;, but nothing happened (I also tried to add some users to the &#8216;users&#8217; table &#8211; same story). Only query in the log table below the login form changes&#8230;<br />
Is it supposed to be that way?</p>
<p>P.S. I use Cake 1.2 RC2</p>
]]></content:encoded>
	</item>
</channel>
</rss>

