Add User's UUID to the response of UserVerifyPassword ( #17)

This commit is contained in:
rbrick 2016-06-20 00:11:59 -05:00
parent 8cc20089da
commit 3d71300621

View File

@ -33,7 +33,8 @@ public final class GETUserVerifyPassword implements Handler<RoutingContext> {
boolean authorized = user.checkPassword(ctx.request().getParam("password"));
APIv3.respondJson(ctx, ImmutableMap.of(
"authorized", authorized
"authorized", authorized,
"uuid", user.getId()
));
}