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
Post a Comment