Skip to content

Commit c3e7cc1

Browse files
committed
Include the OAuth token when switching user
1 parent cda09b8 commit c3e7cc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

theme/oauth1-authorize.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
$current_user = wp_get_current_user();
99

1010
$url = site_url( 'wp-login.php?action=oauth1_authorize', 'login_post' );
11+
$url = add_query_arg( 'oauth_token', $token_key, $url );
1112

1213
?>
1314

0 commit comments

Comments
 (0)