Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd redirecting issue when not logged in #2047

Closed
enovision opened this issue Jun 1, 2018 · 1 comment
Closed

Odd redirecting issue when not logged in #2047

enovision opened this issue Jun 1, 2018 · 1 comment

Comments

@enovision
Copy link

For my plugin "frontend-edit-button" I connect a button on the page with a link that has an URL like this:

https://notes.enovision.net/dashboard/pages/assorti/upgrade-vscode-in-linux

note: I have changed admin to dashboard, but that is not the problem here.

This is opened in a new tab. When you are not logged in, it will show the login dialog from GRAV automatically with the URL correctly shown in the locator of the browser with the login dialog. But when I log in now, the URL changes to:

https://notes.enovision.net/dashboard/assorti/upgrade-vscode-in-linux

so, without the pages in between.

  • When I paste the correct URL in the URL locator of my browser it works correctly.
  • When I go to the other tab and press the button of my plugin in the browser again (now I am logged in the other tab), I works also correct.

expected

That the URL was not changed during the login procedure and removed the pages part from the URL.

This used to work in earlier versions of GRAV.

@rhukster
Copy link
Member

rhukster commented Jun 8, 2018

Just fixed this with this issue: getgrav/grav-plugin-admin#1456

@rhukster rhukster closed this as completed Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants