diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index efcc1b3..2d3c13d 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -108,7 +108,7 @@ function user_pass_reset($form, &$form_state, $uid, $timestamp, $hashed_pass, $a array('%other_user' => $user->name, '%resetting_user' => $reset_link_account->name, '!logout' => url('user/logout'))), 'warning'); } else { // Invalid one-time link specifies an unknown user. - drupal_set_message(t('The one-time login link you clicked is invalid.')); + drupal_set_message(t('The one-time login link you clicked is invalid.'), 'error'); } } drupal_goto();