WordPress.org

Make WordPress Core

Ticket #8212: unique-salt-r9678.patch

File unique-salt-r9678.patch, 454 bytes (added by tellyworth, 5 years ago)
  • wp-includes/pluggable.php

     
    12701270                                update_option('logged_in_salt', $salt); 
    12711271                        } 
    12721272                } 
     1273        } else { 
     1274                // ensure each auth scheme has its own unique salt 
     1275                $salt = hash_hmac('md5', $scheme, $secret_key); 
    12731276        } 
    12741277 
    12751278        return apply_filters('salt', $secret_key . $salt, $scheme);