From 3d713006214843d3c769ea520cb883e0078783b8 Mon Sep 17 00:00:00 2001 From: rbrick Date: Mon, 20 Jun 2016 00:11:59 -0500 Subject: [PATCH] Add User's UUID to the response of UserVerifyPassword ( #17) --- .../frozenorb/apiv3/route/users/GETUserVerifyPassword.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/frozenorb/apiv3/route/users/GETUserVerifyPassword.java b/src/main/java/net/frozenorb/apiv3/route/users/GETUserVerifyPassword.java index e365042..edbcf40 100644 --- a/src/main/java/net/frozenorb/apiv3/route/users/GETUserVerifyPassword.java +++ b/src/main/java/net/frozenorb/apiv3/route/users/GETUserVerifyPassword.java @@ -33,8 +33,9 @@ public final class GETUserVerifyPassword implements Handler { boolean authorized = user.checkPassword(ctx.request().getParam("password")); APIv3.respondJson(ctx, ImmutableMap.of( - "authorized", authorized + "authorized", authorized, + "uuid", user.getId() )); } -} \ No newline at end of file +}