diff --git a/uoj/1/app/controllers/forgot_pw.php b/uoj/1/app/controllers/forgot_pw.php index a0b7c92..b50c5ea 100644 --- a/uoj/1/app/controllers/forgot_pw.php +++ b/uoj/1/app/controllers/forgot_pw.php @@ -19,17 +19,17 @@ $user = $vdata['user']; $password = $user["password"]; - $oj-name = UOJConfig::$data['profile']['oj-name']; - $oj-name-short = UOJConfig::$data['profile']['oj-name-short']; + $oj_name = UOJConfig::$data['profile']['oj-name']; + $oj_name-short = UOJConfig::$data['profile']['oj-name-short']; $sufs = base64url_encode($user['username'] . "." . md5($user['username'] . "+" . $password)); $url = HTML::url("/reset-password", array('params' => array('p' => $sufs))); $html = <<

{$user['username']}您好,

-

您刚刚启用了{$oj-name-short}密码找回功能,请进入下面的链接重设您的密码:

+

您刚刚启用了{$oj_name-short}密码找回功能,请进入下面的链接重设您的密码:

$url

-

{$oj-name}

+

{$oj_name}