I want to allow only one session at the time across browsers and PCs. I want to “disconect” or log out to the old session if a new session starts in WordPress.
Leave a Reply
You must be logged in to post a comment.
I want to allow only one session at the time across browsers and PCs. I want to “disconect” or log out to the old session if a new session starts in WordPress.
You must be logged in to post a comment.
You can do this by changing
LOGGED_IN_KEY
constant in yourwp-config.php
before logging in.Update: it’s better to invalidate all secret keys. They can be generated by WordPress own generator here: https://api.wordpress.org/secret-key/1.1/