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

Login Warning #68

Open
abcajax opened this issue Jun 22, 2020 · 6 comments
Open

Login Warning #68

abcajax opened this issue Jun 22, 2020 · 6 comments

Comments

@abcajax
Copy link

abcajax commented Jun 22, 2020

I have implemented this plugin. It works great for non logged in user but for logged in user used via Postman, it shows the following. Could you please help solve this. I have latest wordpress install till date.

Login Warning
There was an issue with your log in. Your user account has logged in recently from a different location.

@cuxaro
Copy link

cuxaro commented Jun 22, 2020

I have implemented this plugin. It works great for non logged in user but for logged in user used via Postman, it shows the following. Could you please help solve this. I have latest wordpress install till date.

Login Warning

There was an issue with your log in. Your user account has logged in recently from a different location.

Hello, have you this code in your .htaccess?

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule ^(.
) - [E=HTTP_AUTHORIZATION:%1]

@abcajax
Copy link
Author

abcajax commented Jun 22, 2020

Earlier, I added RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] but I commented and tried your suggested ones but still the same problem.

@abcajax
Copy link
Author

abcajax commented Jun 22, 2020

It only happens to the normal users trying to access via REST. It works fine for the admin user. So some kind of issue with the normal user.

@cuxaro
Copy link

cuxaro commented Jun 22, 2020

Are you sure that haven't any other plugin that limit the number of simultaneous users?

@abcajax
Copy link
Author

abcajax commented Jun 22, 2020

no, I tried disabling all the possible plugins which can cause issue and tried. Just left the standard plugins but still the problem. I had wordfence installed but I disabled it.

@Keeyan
Copy link

Keeyan commented Jun 28, 2020

@abcajax @cuxaro any luck? Having the same issue and tried the Rewrite Rules.

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

3 participants