commit 1f26e4d601b4425a283a076e6baff366bc9e0aec Author: Erik Stielstra Date: Sun Oct 5 22:23:15 2014 +0200 #76 diff --git a/core/modules/user/src/Controller/UserController.php b/core/modules/user/src/Controller/UserController.php index 40606ff..b4e0563 100644 --- a/core/modules/user/src/Controller/UserController.php +++ b/core/modules/user/src/Controller/UserController.php @@ -13,7 +13,6 @@ use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use Drupal\Core\Datetime\DateFormatter; -use Drupal\Core\Url; use Drupal\user\UserStorageInterface; use Drupal\Component\Utility\Crypt; @@ -89,7 +88,7 @@ public function resetPass($uid, $timestamp, $hash) { $_SESSION['pass_reset_' . $account->id()] = $token; drupal_set_message(t('You are logged in as %user. Change your password.', array( '%user' => $account->getUsername(), - '!user_edit' => \Drupal::url( + '!user_edit' => $this->url( 'entity.user.edit_form', array('user' => $account->id()), array(