DarkAuth for CakePHP
I thought I’d add a page to satisfy those of you who may have arrived here from the Cookbook, or anywhere else one of the DarkAuth pages was linked from.
I don’t really have much to do with this Component any more, although it still works great! I found that the built in Auth Component is plenty powerful enough, even if it doesn’t quite work work how I would have designed it.
Anyway, here’s the component (tested with CakePHP 1.2 RC3) DarkAuthComponent. Enjoy! It’s highly commented, so hopefully you’ll be able to work out what it does and how to use it…
I’ve found this Component very useful. Thanks for all your hard work on it.
Mike
17 Feb 09 at 07:53 edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I thank you too. Is a great component.!!!
JuanSaab
21 Mar 09 at 01:38 edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Good work.
But I could only use when I removed the line 262(a return;) which allowed the access of all users in the restricted area.
Is this correct?
Andre
29 Oct 09 at 11:03 edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
I ran into the same issue with return statement on line 262. You need to remove that line if you want to restrict access.
Bruce
16 Dec 09 at 18:37 edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>
Thank you all. As I mentioned, I tend to use the in-built AuthComponent now myself, but I’m glad people have benefited from it.
Chris
11 Mar 10 at 12:54 edit_comment_link(__('Edit', 'sandbox'), ' ', ''); ?>