[guadec-web] key generation fixes for password reset
- From: Andreas Nilsson <andreasn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] key generation fixes for password reset
- Date: Thu, 21 Mar 2013 18:03:43 +0000 (UTC)
commit 022bf01337d18574cc6dc24df243c45eb5e39f50
Author: Andreas Nilsson <anilsson redhat com>
Date: Thu Mar 21 15:03:27 2013 -0300
key generation fixes for password reset
wordcamp-base/custom/custom.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/wordcamp-base/custom/custom.php b/wordcamp-base/custom/custom.php
index 9d8776a..6fc9912 100644
--- a/wordcamp-base/custom/custom.php
+++ b/wordcamp-base/custom/custom.php
@@ -154,7 +154,7 @@ function my_reset_password_title() {
add_filter ("retrieve_password_message", "my_reset_password_message");
function my_reset_password_message($content, $key) {
global $wpdb;
- $user_login = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_activation_key =
'$key'");
+ $user_login = $wpdb->get_var("SELECT user_login FROM $wpdb->users WHERE user_activation_key = ' .
$key . '");
ob_start();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]