EIG-SSO - Version 1.0.3

Version Description

Download this release

Release Info

Developer eig
Plugin Icon wp plugin EIG-SSO
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

Files changed (2) hide show
  1. eig-sso.php +3 -3
  2. readme.txt +6 -4
eig-sso.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  Plugin Name: EIG-SSO
4
- Version: 1.0.2
5
  Description: Securely log in to WordPress from Control Panel without needing a username and password.
6
  Author: Endurance International Group
7
  Author URI: http://endurance.com/
@@ -89,7 +89,7 @@ function eigsso_accept_offer() {
89
 
90
  $args = array(
91
  'role' => 'administrator',
92
- 'fields' => array( 'ID', 'user_login' ),
93
  'number' => 1, /* LIMIT 1 */
94
  );
95
  $admins = get_users( $args );
@@ -102,7 +102,7 @@ function eigsso_accept_offer() {
102
 
103
  wp_set_current_user( $admin->ID, $admin->user_login );
104
  wp_set_auth_cookie( $admin->ID );
105
- do_action( 'wp_login', $admin->user_login );
106
 
107
  wp_safe_redirect( admin_url() );
108
  exit;
1
  <?php
2
  /*
3
  Plugin Name: EIG-SSO
4
+ Version: 1.0.3
5
  Description: Securely log in to WordPress from Control Panel without needing a username and password.
6
  Author: Endurance International Group
7
  Author URI: http://endurance.com/
89
 
90
  $args = array(
91
  'role' => 'administrator',
92
+ 'fields' => 'all',
93
  'number' => 1, /* LIMIT 1 */
94
  );
95
  $admins = get_users( $args );
102
 
103
  wp_set_current_user( $admin->ID, $admin->user_login );
104
  wp_set_auth_cookie( $admin->ID );
105
+ do_action( 'wp_login', $admin->user_login, $admin );
106
 
107
  wp_safe_redirect( admin_url() );
108
  exit;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: bcorey, eig
3
  Tags: sso, single sign-on
4
  Requires at least: 3.3
5
- Tested up to: 4.0
6
- Stable tag: 1.0.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -13,7 +13,7 @@ Allows customers of Endurance International Group to sign on to WordPress throug
13
 
14
  EIG-SSO is a single sign on plugin that allows customers of Endurance International Group brands (FatCow, iPage, IPOWER, and others) to sign on to their WordPress installations without needing to remember an additional username and password.
15
 
16
- When installed and activated, this plugin will detect single sign on (SSO) attempts when requested by an authenticated user. On the Control Panel side, the user need only click on the "Launch WordPress" button to be signed in to their WordPress installation.
17
 
18
  == Installation ==
19
 
@@ -42,12 +42,14 @@ As an additional security measure, the plugin will refuse to authenticate users
42
 
43
  == Screenshots ==
44
 
45
- 1. To log in to your WordPress installation, find the Launch WordPress button...
46
 
47
  2. ...and you'll be logged in without needing another username and password.
48
 
49
  == Changelog ==
50
 
 
 
51
  1.0.2 - Fix timing issues.
52
 
53
  1.0.1 - Fix uninstall bug.
2
  Contributors: bcorey, eig
3
  Tags: sso, single sign-on
4
  Requires at least: 3.3
5
+ Tested up to: 5.6
6
+ Stable tag: 1.0.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
13
 
14
  EIG-SSO is a single sign on plugin that allows customers of Endurance International Group brands (FatCow, iPage, IPOWER, and others) to sign on to their WordPress installations without needing to remember an additional username and password.
15
 
16
+ When installed and activated, this plugin will detect single sign on (SSO) attempts when requested by an authenticated user. On the Control Panel side, the user need only click on the "Launch WordPress" button or 'Manage Site' link to be signed in to their WordPress installation.
17
 
18
  == Installation ==
19
 
42
 
43
  == Screenshots ==
44
 
45
+ 1. To log in to your WordPress installation, find the Launch WordPress button or 'Manage Site' link...
46
 
47
  2. ...and you'll be logged in without needing another username and password.
48
 
49
  == Changelog ==
50
 
51
+ 1.0.3 - Fix for too few argument issue
52
+
53
  1.0.2 - Fix timing issues.
54
 
55
  1.0.1 - Fix uninstall bug.