diff --git a/settings/changepassword/controller.php b/settings/changepassword/controller.php
index 1ecb644a96c7871846ebfa2aa5a83e87ccf8bbf1..e8c2a1943f3b0e28d156b7410c2662a83cd5fe07 100644
--- a/settings/changepassword/controller.php
+++ b/settings/changepassword/controller.php
@@ -89,7 +89,7 @@ class Controller {
 					));
 				} elseif (!$result && !$recoveryPasswordSupported) {
 					$l = new \OC_L10n('settings');
-					\OC_JSON::error(array("data" => array( $l->t("message" => "Unable to change password" ) )));
+					\OC_JSON::error(array("data" => array( "message" => $l->t("Unable to change password" ) )));
 				} else {
 					\OC_JSON::success(array("data" => array( "username" => $username )));
 				}