Merge pull request #20 from FrozenOrb/develop
Add User's UUID to the response of UserVerifyPassword
This commit is contained in:
commit
33082435f1
|
@ -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()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue