Commit 5e70fc97 authored by Dries's avatar Dries
Browse files

- Patch #100352 by ChrisKennedy: fixed parse error on pasword reset page.

parent 16986cb9
......@@ -1115,7 +1115,7 @@ function user_pass_reset($uid, $timestamp, $hashed_pass, $action = NULL) {
}
else {
$form['message'] = array('#value' => t('<p>This is a one-time login for %user_name and will expire on %expiration_date</p><p>Click on this button to login to the site and change your password.</p>', array('%user_name' => $account->name, '%expiration_date' => format_date($timestamp + $timeout))));
$form['help'] = array('#value' => '<p>'. t('This login can be used only once.')) .'</p>';
$form['help'] = array('#value' => '<p>'. t('This login can be used only once.') .'</p>');
$form['submit'] = array('#type' => 'submit', '#value' => t('Log in'));
$form['#action'] = url("user/reset/$uid/$timestamp/$hashed_pass/login");
return $form;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment