|
@@ -347,8 +347,9 @@ |
|
|
block discarded – undo |
|
347
|
347
|
} |
|
348
|
348
|
|
|
349
|
349
|
// check mandatory fields |
|
350
|
|
- if (!isset($request_data["login"])) |
|
351
|
|
- throw new RestException(500, "login field missing"); |
|
|
350
|
+ if (!isset($request_data["login"])) { |
|
|
351
|
+ throw new RestException(500, "login field missing"); |
|
|
352
|
+ } |
|
352
|
353
|
/*if (!isset($request_data["password"])) |
|
353
|
354
|
throw new RestException(400, "password field missing"); |
|
354
|
355
|
if (!isset($request_data["lastname"])) |
Please login to merge, or discard this patch.