Page password log in tracking

Permalink Browser Info Environment
I've found Page password to be an extremely effective add-on, but I was just wondering if there is a way to track which passwords have been used to log on, and when their last visit was?

I've searched online for an answer but have been unable to come up with anything as of yet!

Type: Discussion
Status: In Progress
CPipe
View Replies:
hanicker replied on at Permalink Reply
hanicker
Hi. This is not currently supported.
Anyway you can accomplish a simple change that should work:

please edit file:
packages/page_password/models/PagePassword.php

Before
if(!empty($providedPassword)||count($sessionPasswords)!=0){ //Check if password provided //TODO: add SESSION


add
if(!empty($providedPassword)){
file_put_contents("passwordlogins.txt", implode(',',array(date(),$providedPassword,Page::getCollectionPathFromID($cID))), FILE_APPEND);
}


Then you should see, after the first login, a new passwordlogins.txt file in the root of your site (you can change the name to something different to guess.

Let me know if you have any problem.
Thanks
Regards
Nicola

concrete5 Environment Information

Page password add-on

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.