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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -