Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-01 19:34:03 +0300
committerLukas Reschke <lukas@owncloud.com>2015-02-01 19:34:03 +0300
commitba29ea178f7ba18795e36b55ba8b397703280792 (patch)
treefc39058572a7765fa09a0f35bda2c972d92e8ceb /core
parent35afb0d22e41c195ba8ac4a7dc942ba4b0b97d42 (diff)
Add unit tests for empty token
Diffstat (limited to 'core')
-rw-r--r--core/lostpassword/controller/lostcontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller/lostcontroller.php b/core/lostpassword/controller/lostcontroller.php
index 5297e9a9a2a..c039c578b59 100644
--- a/core/lostpassword/controller/lostcontroller.php
+++ b/core/lostpassword/controller/lostcontroller.php
@@ -141,7 +141,7 @@ class LostController extends Controller {
* @return array
*/
public function setPassword($token, $userId, $password, $proceed) {
- if ($this->isDataEncrypted && !$proceed){
+ if ($this->isDataEncrypted && !$proceed) {
return $this->error('', array('encryption' => true));
}