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
1 changed files with 3 additions and 2 deletions

View File

@ -33,8 +33,9 @@ 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()
));
}
}
}