/ Published in: PHP
this is the entire app_controller code with auth setup and use in it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php class AppController extends Controller { function beforeFilter() { $this->Auth->allow('*'); $this->Auth->deny('delete','view','index'); } } ?>
URL: http://www.jbcrawford.net/archives/45