getgrav / grav-plugin-login

Grav Login Plugin
http://getgrav.org
MIT License
44 stars 54 forks source link

Authorization on multi-language site, wrong redirect url #217

Open lufog opened 5 years ago

lufog commented 5 years ago

After authorization on the site, I get to /en/en instead of /en


Grav v1.7.0-beta.4 Login v3.0.3

mahagr commented 5 years ago

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
mahagr commented 5 years ago

There is still an issue if referrer fallback is getting used. It contains the language prefix.

raph31t commented 3 years ago

The issue is still here :

dexterxx-pl commented 3 years ago

See #279