• Resolved Patty

    (@patita75)


    I am getting email alerts from Sucuri when someone logs into my wordpress site. Whenever I login I get a message that says

    “User authentication succeeded: my user name”

    At the exact same time I get a message that says “User authentication succeeded: Unknown”

    Does that mean that someone else is logging in to my site at the same time as me?

    If so, how can I fix this.

    https://www.ads-software.com/plugins/sucuri-scanner/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The Sucuri plugin monitors the execution of a WordPress event named “wp_login” which according to the official WordPress documentation [1] is triggered when a user logs in by the “wp_signon” function [2]. It is the very last action taken in the function, immediately following the “wp_set_auth_cookie” call.

    So what I think is that something in your site is triggering that event more than once, and the second time is not providing a valid “WP_User” object, that is why the Sucuri plugin creates an alert using the “Unknown” string, because there was no way to determine the username from the event data.

    What themes and plugins do you have installed? It is probable that something in the code of one of these addons is affecting the functionality of the user authentication monitor.

    [1] https://codex.www.ads-software.com/Plugin_API/Action_Reference/wp_login
    [2] https://codex.www.ads-software.com/Function_Reference/wp_signon

    Thread Starter Patty

    (@patita75)

    I am using the wpml language translation plugin. I am wondering if that is what is creating a duplicate.

    I do not know that plugin, will install it in my development site to see if I can reproduce the issue, but I believe that is not the cause of that duplication but I am not sure, will have to test first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login Unknown’ is closed to new replies.