PHP Class New_Device_Notification, vip-mu-plugins-public
*************************************************************************
Plugin Name: New Device Notification
Description: Uses a cookie to identify new devices that are used to log in. On new device detection, an e-mail is sent. This provides some basic improved security against compromised accounts.
Author: Automattic VIP Team
Author URI: http://vip.wordpress.com/
Version: 2.0
License: GPLv2
************************************************************************
Show file
Open project: Automattic/vip-mu-plugins-public
Public Properties
Public Methods
Method Details
__construct()
public method
get_standard_message()
public method
is_user_from_valid_ip()
public method
maybe_send_email()
public method
notify_of_new_device()
public method
set_cookie()
public method
verify_cookie()
public method
Property Details
$cookie_hash public property
$cookie_name public property
$grace_period public property
This is to get all of the normal users into the logs and avoid spamming inboxes.