Commit 286bafe5 by Jan Hrabal

smch

parent ad71e2c6
...@@ -179,7 +179,7 @@ public class AuthApiController { ...@@ -179,7 +179,7 @@ public class AuthApiController {
Utils.sleep(250); Utils.sleep(250);
String token = resetPassword.getToken(); String token = resetPassword.getToken();
if (!StringUtils.hasText(token)) { if (!StringUtils.hasText(token)) {
return new ResponseEntity<>(Collections.singletonList(new AuthError(null, "AUTH.NO_TOKEN")), HttpStatus.BAD_REQUEST); return new ResponseEntity<>(Collections.singletonList(new AuthError(null, "AUTH.INVALID_TOKEN")), HttpStatus.BAD_REQUEST);
} }
List<ErrorMessage> errors = new ArrayList<>(); List<ErrorMessage> errors = new ArrayList<>();
......
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