Add User's UUID to the response of UserVerifyPassword ( #17)
This commit is contained in:
parent
8cc20089da
commit
3d71300621
|
@ -33,7 +33,8 @@ public final class GETUserVerifyPassword implements Handler<RoutingContext> {
|
||||||
boolean authorized = user.checkPassword(ctx.request().getParam("password"));
|
boolean authorized = user.checkPassword(ctx.request().getParam("password"));
|
||||||
|
|
||||||
APIv3.respondJson(ctx, ImmutableMap.of(
|
APIv3.respondJson(ctx, ImmutableMap.of(
|
||||||
"authorized", authorized
|
"authorized", authorized,
|
||||||
|
"uuid", user.getId()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue