login redirect issue #369
Comments
first time login and when second time login it words and dashboard shows |
What version of Bonfire are you using? |
0.5 version 302 moved temporarily error on login first time , not error on second attempt |
auth.php $this->login_destination = isset($user->login_destination) && !empty($user->login_destination) ? $user->login_destination : ''; this line is a problem when i comment it //$this->login_destination = isset($user->login_destination) && !empty($user->login_destination) ? $user->login_destination : ''; and use SITE_AREA .'/dashboard'; i cant find this problem any more. what will be the issue i cant understand if you find any reason , please share it |
Wouldn't it be easier to just change the setting for the Roles Login Should be in Settings -> Roles Then pick Admin or Developer and set there login dest to /admin/dashboard And that should fix your issue? On 3/19/12 5:45 AM, muhammadkashif wrote:
|
No that would not effect ant thing.I already set destination for every role to dashboard. |
@muhammadkashif @svizion I'm going to close this - it was opened 2 months ago and is for 0.5 which we are not developing anymore. |
I create a new context module (dashboard), and redirect all of roles to that module.But when i set
$config['base_url'] = 'http://www.mydomainname.com';
it redirect all of role to content module on login
and another strange issue i face is, when i try to login first attempt always fails and give error don't have a right to access this page and on second attempt i am able to login and redirect to dashboard module.
The text was updated successfully, but these errors were encountered: