From 33829502972388760be41ddcc731868a1a970b16 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 15 Feb 2017 18:07:21 -0600 Subject: add unit tests Signed-off-by: Morris Jobke --- settings/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/Controller') diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index fb5e6af04a8..19c5b068167 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -438,7 +438,7 @@ class UsersController extends Controller { $encryptedValue = $this->crypto->encrypt($tokenValue, $mailAddress . $this->config->getSystemValue('secret')); $this->config->setUserValue($username, 'core', 'lostpassword', $encryptedValue); - $link = $this->urlGenerator->linkToRouteAbsolute('core.lost.resetform', array('userId' => $username, 'token' => $token)); + $link = $this->urlGenerator->linkToRouteAbsolute('core.lost.resetform', ['userId' => $username, 'token' => $token]); } else { $link = $this->urlGenerator->getAbsoluteURL('/'); } -- cgit v1.2.3