Zend Framework2 using Zfcuser & Bjyauthorize routing -


i'm beginer zend framework programmer. did use zfcuser authentification , bjyauthorize authorization. have type of users : normal users , administrator . want route user page , admin page b after authentification . in zfcuser configuation file there not possibility have line

 'logout_redirect_route' => 'zfcuser/login', 

how can specify diffrent route differents users?

to me problem has nothing zfcuser or bjyauthorize: let user , admin go inside controller , there can dispatch them depending on user role.

return $this->forward()->dispatch('mymodule\controller\index', array('action'=>'pageb')); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -