Add User's UUID to the response of UserVerifyPassword

This commit is contained in:
rbrick 2016-06-19 22:30:49 -05:00
parent 2cab2f0e7a
commit a498416527
1 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,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()
));
}