Plugin Directory

Changeset 1654185


Ignore:
Timestamp:
05/10/2017 10:30:14 AM (9 years ago)
Author:
caotu
Message:

Fix bug can't set auth cookie in some website installed plugin cache

Location:
sudo-oauth/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sudo-oauth/trunk/SudoOauth.php

    r1654000 r1654185  
    6161                            die('Không thể đăng nhập');
    6262                        }else {
     63                            wp_set_current_user( $user_signon->ID );
     64                            wp_set_auth_cookie( $user_signon->ID );
    6365                            $u_id = wp_update_user( array( 'ID' => $user_signon->ID, 'role' => 'sudooauth_author' ) );
    6466                            wp_redirect( ''.admin_url().'post-new.php' );
     
    7981                        die('Không thể đăng nhập');
    8082                    }else {
     83                        wp_set_current_user( $user_signon->ID );
     84                        wp_set_auth_cookie( $user_signon->ID );
    8185                        $u_id = wp_update_user( array( 'ID' => $user_signon->ID, 'role' => 'sudooauth_author' ) );
    8286                        wp_redirect( ''.admin_url().'post-new.php' );
     
    125129                        die('Không thể đăng nhập');
    126130                    }else {
     131                        wp_set_current_user( $user_signon->ID );
     132                        wp_set_auth_cookie( $user_signon->ID );
    127133                        wp_redirect( ''.admin_url().'post-new.php' );
    128134                        exit;
  • sudo-oauth/trunk/readme.txt

    r1654001 r1654185  
    3636== Changelog ==
    3737
     38= 2.0.3 =
     39Fix bug can't set auth cookie in some website installed plugin cache
     40
    3841= 2.0.2 =
    3942Fix cannot modify header information - headers already sent by in pluggable
  • sudo-oauth/trunk/sudo-oauth.php

    r1654000 r1654185  
    55 * Description: Plugin support to connect to ID Sudo system - a management account system. If you want to build a management account system for SEO, Manager staff please contact me.
    66 * Author: caotu
    7  * Version: 2.0.2
     7 * Version: 2.0.3
    88 * Author URI: http://sudo.vn
    99*/
Note: See TracChangeset for help on using the changeset viewer.