Add User's UUID to the response of UserVerifyPassword
This commit is contained in:
parent
2cab2f0e7a
commit
a498416527
@ -25,7 +25,8 @@ 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
Block a user