diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-15 18:07:21 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-15 18:07:21 -0600 |
commit | 33829502972388760be41ddcc731868a1a970b16 (patch) | |
tree | b060058cbaed0405fbfb451914019641753b538e /settings/Controller/UsersController.php | |
parent | abb496a43902c28fc253548d93407639deb338d3 (diff) | |
download | nextcloud-server-33829502972388760be41ddcc731868a1a970b16.tar.gz nextcloud-server-33829502972388760be41ddcc731868a1a970b16.zip |
add unit tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller/UsersController.php')
-rw-r--r-- | settings/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
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('/'); } |