Coherence problem between plugin lwa (login with ajax) and query-monitor
-
Hi,
I get a problem of coherence of login in two cases which have similarities:
- when we use “login with ajax” or not and “query monitor” and
- when several pages are loaded from a bookmarks folder and need a login.
With query monitor, because “query monitor” loops once to display his analyze results after a main login (login page), while there is never way to reach the first requested url (name=”redirect_to” in elements of html) even the login, the first one is successful.
The reason of the interminable loop is that after the first submit of the login form by the user (who have access to query monitor informations, generally admin) the login page is displayed again while login is successful.
So, if the user tries to log again it loops on the login form and there is no mean defined by the soft to reach the “redirect_to” in this case.
This same situation is produced when you uses the plugin “query monitor” or when you have several login form pages opened at same time (group of bookmarks loaded).
the “lwa” developer thinks that is a wp problem
the “query monitor” developer doesn’t answersHELP
Best regards
Trebly
___________________________________________________________________
Note about consequences and phenomenon:- you can stop the loop by typing the first requested url (“redirect_to” value), this have a successful issue because you are in fact logged in but this is not taken in account by the soft into the displayed login form, so you reach your url…
- it becomes impossible to reload automatically bookmarked pages (current work saved) from a bookmarks folder : in such case all pages leads to the display of the login form else than the original url. Even you have logged in once successfully you cannot load (reload) others urls because of the loop described.
The solution : When the login form is submitted, while the user is logged in, the location is redirected to the value of the input tag named “redirect_to”. That’s all.
I don’t apply this myself (write a patch) because I will have to update for each upgrade of WP and/or plugin(s)…
When the problem will be recognized I will even patch and propose the solution (can need work) and/or wait for a later upgrade.
- The topic ‘Coherence problem between plugin lwa (login with ajax) and query-monitor’ is closed to new replies.