Skip to content

Commit

Permalink
no need to validate nonce there
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkingorg committed May 16, 2012
1 parent 5f74f74 commit 83799bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/social/controller/auth.php
Expand Up @@ -208,7 +208,7 @@ public function action_reload_form() {
exit;
}

if (isset($_COOKIE['social_auth_nonce']) and wp_verify_nonce($_COOKIE['social_auth_nonce'], 'social_authentication')) {
if (isset($_COOKIE['social_auth_nonce'])) {
$cookie_nonce = stripslashes($_COOKIE['social_auth_nonce']);
// Find the user by NONCE.
global $wpdb;
Expand Down

0 comments on commit 83799bc

Please sign in to comment.