[FIX] Small UI improvements

This commit is contained in:
Gravita 2021-10-15 21:35:47 +07:00
parent 7d8975041f
commit 1a7160c394
2 changed files with 6 additions and 1 deletions

View file

@ -306,7 +306,8 @@ public void invoke(String... args) throws Exception {
} else {
password = new AuthPlainPassword(plainPassword);
}
instance.registration(username, email, password, map);
User user = instance.registration(username, email, password, map);
logger.info("User '{}' registered", user.toString());
}
});
}

View file

@ -36,6 +36,10 @@ public void invoke(String... args) throws Exception {
if(profile == null) {
logger.warn("Profile {} not found", args[0]);
}
if(pair == null) {
logger.error("AuthId {} not found", args[1]);
return;
}
String token = server.authManager.newCheckServerToken(args[0], pair.name);
logger.info("Server token {} authId {}: {}", args[0], pair.name, token);
}