Sign out button is missing protocol
Sign out url is missing the protocol prefix (http or https).
This causes logout to fail when logged in on https and foreman is unavailable on http.
#4 Updated by Marek Hulán almost 6 years ago
- Status changed from New to Assigned
I can't reproduce. Also nothing in code suggests any nonstandard behavior. However this may be related to your setup if you're running foreman behind proxy. Rails detects HTTPS request behind proxy by various custom headers that your proxy probably does not attach. Make sure you are adding 'X-Forwarded-Proto: https' header correctly.
Although this is not entirely a bug we could change logout_users_url which generates absolute path to logout_users_path which generates only the relative part. This will fix the issue for users with wrongly configured proxy.