-
Notifications
You must be signed in to change notification settings - Fork 17
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
Front End Login Issue #7
Comments
I just tried to login into my back end and got this error message: |
I don't cache the backend "/administrator" area of the site. RewriteCond %{ORG_REQ_URI} !/administrator |
Adding that and will try it over the next few days. I did not see a cache hit on the admin side even before the rule was added. |
Thanks for reporting. I think Back End login should not have this problem because currently LSCache plugin will not cache Back End pages. But Front End login page will be cached with some hidden token field may already expired. Currently the best way of solving it is to set the Front End login page as exclude page. login to back end administrator, in Components->LiteSpeedCache, press "Options" button, then in "Exclude Rules" TAB, in "Exclude Menus" find the Front End login page, set it as exclude page, then save. in Components->LiteSpeedCache, press "Purge All LiteSpeed Cache" button to clear current cache files. please give me your Front End login URL, we'll try to make next version exclude Front End login page automatically, thanks for your help. |
I'm using a module called "BT Login" which is a javascript login that is on every page of the site. Also, we use the front end to make changes to content, etc as super user...using the Front End Editor built in to Joomla. Is there a way to only cache if you are a guest/public and not serve cached pages for logged in users? |
You can try set the "BT Login" module as ESI module. in current version, ESI module will not be cached (next version can choose to be cached or not ). in Components->LiteSpeedCache , find the "BT Login" module, then press the button "Render as ESI", and also need click the "Purge All LiteSpeed Cache" button to clear current cache files. |
Thanks for the response. Unfortunately I can't seem to get the front end login to work consistently. I have selected Render as ESI for all login modules on the site. It will allow the login, but once you start viewing the protected content it fails. Also, the modules sometimes show the user logged in, other times not. When trying to log in/out it is unpredictable... I also tried excluding the menu items with protected content and does not work either. I can give you access to this dev site if you would like to try anything. |
We appreciate your cooperation. You can send me your site access to wchen@litespeedtech.com, Thanks. |
Have this not been fixed in newest 1.20 version of the plugin? |
Yes I tested in this user's develop site it's fixed and also no problem with newest 1.2.0 version. |
Just FYI the invalid token issue is Joomla! and there is a fix coming out in the next version I believe. |
Using Joomla 3.8.5 The system seems to log in/out successfully once or twice but then loses the ability to login getting "Security Breach" error messages.
The text was updated successfully, but these errors were encountered: