How to allow users login to WP from external domain and make REST requests
How to allow users login to WP from external domain and make REST requests
How to allow users login to WP from external domain and make REST requests
Use this plugin for this purpose SI Captcha
There are a few things you can try. One of them you have already tried. Clear your browser cache (which you have stated you have tried), just make sure you cleared everything, cookies and cache. Try deactivating all plugins by either logging in via SSH or FTP to your server and rename wp-content/plugins to wp-content/plugins_backup. … Read more
If I understand your question, the race condition you describe between WordPress knowing the transaction was “complete” and the user returning to your site is the problem. Regarding a potential solution, what about changing the way you’re approaching this such that this race condition is accepted as a real possibility rather than something that you … Read more
You can create custom usermeta for has_logged_in or something like that and then check it when the user logs in to see if it exists and is properly set. If so, no email sent, otherwise, email sent. You could take the opposite approach and create usermeta for not_has_logged_in or something like that and then check … Read more
Look at the opening form element. The value for action determines where the form data is being posted to. By changing the value you can simply tell the form to redirect to itself rather than another page. The codex offers an alternative approach on generating the mark-up for the necessary form: http://codex.wordpress.org/Customizing_the_Login_Form#Make_a_Custom_Login_Page Here’s a much … Read more
This is not surprising or uncommon, it’s how browsers work, the pages are cached and are part of the browser history. This is not specific to WordPress but many web applications out there. There are also different approaches to providing a solution. For one (not very good solution), clearing the browser history. For another – … Read more
As already suggested in a comment above of mine, technically a (cookie based) session is limited to one IP at a time by using the Safer Cookies (WordPress Plugin). This does not prevent another login with the same username and password because it is a feature of WordPress to allow you to login multiple times … Read more
There are a couple of ways to do this. The most simple is probably to install a plugin, such as Theme My Login. The more complicated but flexible way to do it is to use wp_login_form() to output the form, presumably to a shortcode or something, and then you can style it yourself.
You could create a dummy user (with no rights) and log in every visitor using this dummy user. This could be done pretty easily: wp_set_auth_cookie($uid, true); wp_set_current_user($uid); But in my opinion that’s a rather flawy workaround. Your main problem is that all pages for not-logged-in users come from the page-cache. That also means that all … Read more