Changeset 1453845
- Timestamp:
- 07/13/2016 04:11:50 AM (10 years ago)
- Location:
- thisdata/trunk
- Files:
-
- 4 edited
-
Events.php (modified) (1 diff)
-
composer.json (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
thisdata/trunk/Events.php
r1446955 r1453845 67 67 68 68 static function trackLogIn($args) { 69 // https://developer.wordpress.org/reference/hooks/wp_login/ 70 return static::userNameHook($args); 69 70 // @see https://developer.wordpress.org/reference/hooks/wp_login/ 71 list($username, $user) = $args['hookArgs']; 72 73 if( empty($username) || !($user instanceof \WP_User) ) { 74 //This should never happen. @see wp-includes/user.php signon 75 //But note that if a plugin returned something other than WP_Error on 76 //wp_authenticate ( null for example ) then we would be in trouble. 77 //Without this check, we would record an anonymous login, which isn't correct 78 //\Analog::log('Invalid arguments passed from wp_login hook', \Analog::DEBUG); 79 return null; 80 } 81 82 return static::userNameHook($args); 71 83 } 72 84 -
thisdata/trunk/composer.json
r1446955 r1453845 5 5 "require": { 6 6 "thisdata/api": "^0.1.3", 7 "mohiohio/wordpress-lib": "^0.1" 8 }, 9 "require-dev": { 7 "mohiohio/wordpress-lib": "^0.1", 10 8 "analog/analog": "^1.0" 11 9 }, -
thisdata/trunk/index.php
r1448286 r1453845 3 3 Plugin Name: ThisData for WordPress 4 4 Plugin URI: https://thisdata.com/ 5 Version: 1.1. 25 Version: 1.1.3 6 6 Description: ThisData provides login intelligence. We notify you when one of your users or customers has their account accessed from somewhere unusual or by a device they don't normally use. It gives your customers the confidence that you're taking security seriously and doing everything you can to protect their account. 7 7 Text Domain: thisdata-plugin -
thisdata/trunk/readme.txt
r1448286 r1453845 1 1 === Login Security by ThisData === 2 Contributors: t imfield, thisdata2 Contributors: thisdata, timfield 3 3 Donate link: https://thisdata.com/upgrade 4 4 Tags: security, phishing, login, authentication 5 5 Requires at least: 4.5 6 6 Tested up to: 4.5.3 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.