Merge pull request #20 from FrozenOrb/develop

Add User's UUID to the response of UserVerifyPassword
This commit is contained in:
Jonathan Halterman 2016-06-19 21:57:33 -07:00 committed by GitHub
commit 33082435f1
1 changed files with 3 additions and 2 deletions

View File

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