eReuse / DeviceHubClient

GNU Affero General Public License v3.0
6 stars 2 forks source link

Logout redirects to non existing page #55

Closed slamora closed 4 years ago

slamora commented 4 years ago

Steps to reproduce the issue

  1. Login with a valid username and password combination.
  2. Click on Logout button.
  3. Browser is redirected to /inventories/ which returns 404 Not Found.

Expected behaviour

Redirect to an existing page (e.g. /login/)

slamora commented 4 years ago

Sorry, it was an issue related to nginx configuration related to rewrite.

For the record this is the needed rewrite rule:

# /etc/nginx/sites-available/app.example.org.conf
server {
   ...
   try_files $uri$args $uri$args/ /index.html;
   ...
}