summaryrefslogtreecommitdiffstats
path: root/core/lostpassword/controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-13 16:18:21 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-13 16:18:21 +0200
commited8b7fc1019d48741b11dd25e614677a80d0a89f (patch)
tree1eefeae96698ef432bde687ba39fe80fb4d033b3 /core/lostpassword/controller
parentebbf2283099215ca06914b0c4c62423de2ceb2e2 (diff)
downloadnextcloud-server-ed8b7fc1019d48741b11dd25e614677a80d0a89f.tar.gz
nextcloud-server-ed8b7fc1019d48741b11dd25e614677a80d0a89f.zip
complete renaming uid to userId
Diffstat (limited to 'core/lostpassword/controller')
-rw-r--r--core/lostpassword/controller/lostcontroller.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php
index db94eeadeac..1cab87432ca 100644
--- a/core/lostpassword/controller/lostcontroller.php
+++ b/core/lostpassword/controller/lostcontroller.php
@@ -57,15 +57,15 @@ class LostController extends Controller {
* @NoCSRFRequired
*
* @param string $token
- * @param string $uid
+ * @param string $userId
*/
- public function resetform($token, $uid) {
+ public function resetform($token, $userId) {
return new TemplateResponse(
'core/lostpassword',
'resetpassword',
array(
'isEncrypted' => $this->isDataEncrypted,
- 'link' => $this->getLink('core.lost.setPassword', $uid, $token),
+ 'link' => $this->getLink('core.lost.setPassword', $userId, $token),
),
'guest'
);
@@ -178,7 +178,7 @@ class LostController extends Controller {
protected function getLink($route, $user, $token){
$parameters = array(
'token' => $token,
- 'uid' => $user
+ 'userId' => $user
);
$link = $this->urlGenerator->linkToRoute($route, $parameters);