Changeset 1654185
- Timestamp:
- 05/10/2017 10:30:14 AM (9 years ago)
- Location:
- sudo-oauth/trunk
- Files:
-
- 3 edited
-
SudoOauth.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
sudo-oauth.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sudo-oauth/trunk/SudoOauth.php
r1654000 r1654185 61 61 die('Không thể đăng nhập'); 62 62 }else { 63 wp_set_current_user( $user_signon->ID ); 64 wp_set_auth_cookie( $user_signon->ID ); 63 65 $u_id = wp_update_user( array( 'ID' => $user_signon->ID, 'role' => 'sudooauth_author' ) ); 64 66 wp_redirect( ''.admin_url().'post-new.php' ); … … 79 81 die('Không thể đăng nhập'); 80 82 }else { 83 wp_set_current_user( $user_signon->ID ); 84 wp_set_auth_cookie( $user_signon->ID ); 81 85 $u_id = wp_update_user( array( 'ID' => $user_signon->ID, 'role' => 'sudooauth_author' ) ); 82 86 wp_redirect( ''.admin_url().'post-new.php' ); … … 125 129 die('Không thể đăng nhập'); 126 130 }else { 131 wp_set_current_user( $user_signon->ID ); 132 wp_set_auth_cookie( $user_signon->ID ); 127 133 wp_redirect( ''.admin_url().'post-new.php' ); 128 134 exit; -
sudo-oauth/trunk/readme.txt
r1654001 r1654185 36 36 == Changelog == 37 37 38 = 2.0.3 = 39 Fix bug can't set auth cookie in some website installed plugin cache 40 38 41 = 2.0.2 = 39 42 Fix cannot modify header information - headers already sent by in pluggable -
sudo-oauth/trunk/sudo-oauth.php
r1654000 r1654185 5 5 * 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. 6 6 * Author: caotu 7 * Version: 2.0. 27 * Version: 2.0.3 8 8 * Author URI: http://sudo.vn 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.