summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-24 12:50:39 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-24 12:50:39 +0200
commita8b6cc6a072db265a587ae0bb6b2512e2f56e06d (patch)
tree837a2cb32269fe4b7fac7110c09bdbe177cf3519 /lib/public
parente2327f83ed60ca29fd1513a40bcefd26e52c54bf (diff)
downloadnextcloud-server-a8b6cc6a072db265a587ae0bb6b2512e2f56e06d.tar.gz
nextcloud-server-a8b6cc6a072db265a587ae0bb6b2512e2f56e06d.zip
- adding default value for $recoveryPassword
- set password correctly in lost password
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iuser.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/iuser.php b/lib/public/iuser.php
index dc4acc7658f..c15edcd14dd 100644
--- a/lib/public/iuser.php
+++ b/lib/public/iuser.php
@@ -18,14 +18,14 @@ interface IUser {
public function getUID();
/**
- * get the displayname for the user, if no specific displayname is set it will fallback to the user id
+ * get the display name for the user, if no specific display name is set it will fallback to the user id
*
* @return string
*/
public function getDisplayName();
/**
- * set the displayname for the user
+ * set the display name for the user
*
* @param string $displayName
* @return bool
@@ -59,7 +59,7 @@ interface IUser {
* @param string $recoveryPassword for the encryption app to reset encryption keys
* @return bool
*/
- public function setPassword($password, $recoveryPassword);
+ public function setPassword($password, $recoveryPassword = null);
/**
* get the users home folder to mount