fixing syntax error - it it that hard to test own code?
This commit is contained in:
parent
6b1843d91b
commit
de8d0783ed
|
@ -89,7 +89,7 @@ class Controller {
|
||||||
));
|
));
|
||||||
} elseif (!$result && !$recoveryPasswordSupported) {
|
} elseif (!$result && !$recoveryPasswordSupported) {
|
||||||
$l = new \OC_L10n('settings');
|
$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 {
|
} else {
|
||||||
\OC_JSON::success(array("data" => array( "username" => $username )));
|
\OC_JSON::success(array("data" => array( "username" => $username )));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue