grav-plugin-login
grav-plugin-login copied to clipboard
Authorization on multi-language site, wrong redirect url
After authorization on the site, I get to /en/en instead of /en
Grav v1.7.0-beta.4 Login v3.0.3
Can be reproduced with:
plugins/login.yaml
enabled: true
route: /login
redirect_to_login: true
redirect_after_login: '/'
system.yaml
languages:
supported:
- en
default_lang: en
include_default_lang: true
There is still an issue if referrer fallback is getting used. It contains the language prefix.
The issue is still here :
- I created my site with Grav 1.7.5, and didn't have the issue and then I updated to the latest 1.7.13, and the issue appears.
See #279