WordPress.org

Forums

Sucuri Security - Auditing, Malware Scanner and Security Hardening
[resolved] Last Login doesn't work with Multisite (3 posts)

  1. Patrick Johanneson
    Member
    Posted 11 months ago #

    Last Login works fine when I log in to the main site in a Multisite network. However, if I log in from a sub-site in the network, Last Login doesn't record my login. Is there a hook (either in WP core or in the Sucuri Security plugin) that will allow me to modify this behaviour?

    I'm running WP 3.9.1 (current stable release) using subdirectory-style Multisite.

    https://wordpress.org/plugins/sucuri-scanner/

  2. Yorman
    Member
    Plugin Author

    Posted 9 months ago #

    After multiple tests in six (6) different installations using sub-domains and sub-folders while setting up the network I was not able to reproduce the bug. The last-logins logs (as other dynamic data stored by the plugin) is independent to the site, so if you have a standard installation with two subdomains the logs will be stored like this:

    /wp-content/uploads/sucuri/
    /wp-content/uploads/sites/2/sucuri/
    /wp-content/uploads/sites/3/sucuri/
    

    Checking the code I do not see why the logs could not be stored, unless there are permissions issues to write in these directories, but that does not seems the case. Anyway, the logs for Site 3 will not be displayed nor in the Network dashboard nor in the dashboard of other sites, if this is the case the I will consider this ticket as resolved.

    Let me know if you want to keep this thread opened.

  3. Yorman
    Member
    Plugin Author

    Posted 9 months ago #

    Marking this as resolved because I could not reproduce the error.

Reply

You must log in to post.

About this Plugin

About this Topic