Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to Host-Domain vs. baseUrl #14

Open
rsuarez82 opened this issue Apr 3, 2017 · 2 comments
Open

Redirect to Host-Domain vs. baseUrl #14

rsuarez82 opened this issue Apr 3, 2017 · 2 comments

Comments

@rsuarez82
Copy link

Whenever a user or a group is added for example, the application sends the user back to the host domain. This is okay for as long as the auth manager isn't hosted in a specific subfolder. But, when you are in a subfolder, you want to get back to the user/group list usually. So it should go back to the list, preferrably defined by baseUrl in config.

@dgeary2
Copy link

dgeary2 commented Nov 18, 2017

In src/App/Controller/Group.php and src/App/Controller/User.php find lines with
return $this->app->redirect('/');
and replace them with
return $this->app->redirect($this->app['config']['baseUrl']);

@mserramanxa
Copy link

In src/App/Controller/Group.php and src/App/Controller/User.php find lines with
return $this->app->redirect('/');
and replace them with
return $this->app->redirect($this->app['config']['baseUrl']);

Thank's, you saved my day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants