php-apache2-basic-auth-manager
php-apache2-basic-auth-manager copied to clipboard
Redirect to Host-Domain vs. baseUrl
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.
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']);
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