From ba29ea178f7ba18795e36b55ba8b397703280792 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sun, 1 Feb 2015 17:34:03 +0100 Subject: Add unit tests for empty token --- core/lostpassword/controller/lostcontroller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/lostpassword') 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)); } -- cgit v1.2.3