Commit dcfb57f3 authored by Zohten's avatar Zohten

typo corrected

parent 28523e63
......@@ -19,7 +19,7 @@ class LoginController extends Controller
}
$json = $this->request->getData();
if (!isset($json['login']) || !isset($json['login'])) {
if (!isset($json['login']) || !isset($json['pwd'])) {
$r = new Response(422, "login and pwd fields are mandatory");
$r->send();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment