I found another small glitch in DarkAuth, which stemmed from the major bug after CakePHP 1.2 RC1 was released.
The Controller::render() method has changed, which was integral to DarkAuth's functionality. The change stopped anything from being displayed if Auth was not present or sufficient. To fix it I had to force an exit() into the code.
This exit() then meant that the Component was not setting the $_DarkAuth variable at all, if the "login" or "deny" view where being displayed.
The updated code fixes this, and has been updated on the DarkAuth page.
In addition I introduced a nice utility method, DarkAuthComponent::getUserId() which simply the returns the id of the currently auth'd user. Something I needed often.
Also I decided it would be good to have a "test application", a simple setup of a working DarkAuth + Cake combo. So I have built one, and you can use it to see how DarkAuth works, and to play around with it to your hearts content!
There's 2 versions: one is just the app/ folder, and the other contains the full CakePHP1.2 RC1 code as well:
- DarkAuth.test.app.zip just app/ folder
DarkAuth.test.inc.cake.zip full exampleAwaiting Update...
I put some useful code in there to help create the database config file and set up the required tables, so just extract and play!

Bill said at 00:28, 7th July 2008:
theChrisWalker said at 17:36, 7th July 2008:
Theo said at 21:30, 9th July 2008:
Theo said at 21:44, 9th July 2008:
theChrisWalker said at 09:17, 10th July 2008:
itsnotvalid said at 13:02, 11th July 2008:
Theo said at 12:59, 12th July 2008:
blablacio said at 15:15, 15th July 2008:
itsnotvalid said at 12:08, 20th July 2008:
theChrisWalker said at 20:48, 20th July 2008:
theChrisWalker said at 20:54, 20th July 2008:
Lukas said at 16:11, 29th July 2008:
Lukas said at 16:22, 29th July 2008:
Darren said at 08:39, 5th August 2008: