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

Edit button showing when not connected #20

Open
Heraes-git opened this issue Mar 19, 2019 · 0 comments
Open

Edit button showing when not connected #20

Heraes-git opened this issue Mar 19, 2019 · 0 comments

Comments

@Heraes-git
Copy link

Heraes-git commented Mar 19, 2019

This topic is not a dupplicate but might be connected to #16.

Right after installing and setting properly the FrontendEditButton plugin (with requiresAuth: true), the FEB button stayed visible while I was logued out.

I logued in to the admin by accessing the URL and/or clicking on the FEB button, and logued out ; but the FEB button was still visible.

That's only when I used the in-page form of the login plugin that I implemented in my template, to log in and log out from that same form, that the FEB button seemed to receive the deconnexion and disappeared.

So it implies that some users on my website could see the button the first time they come, and I wonder if some unregistered users could see it.

edit :

It also seems that after loguing out, while the FEB button seems to disappear, it comes back if I route to an other page.

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

1 participant