mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-31 20:59:54 +03:00
[FIX] Small UI improvements
This commit is contained in:
parent
7d8975041f
commit
1a7160c394
2 changed files with 6 additions and 1 deletions
|
@ -306,7 +306,8 @@ public void invoke(String... args) throws Exception {
|
||||||
} else {
|
} else {
|
||||||
password = new AuthPlainPassword(plainPassword);
|
password = new AuthPlainPassword(plainPassword);
|
||||||
}
|
}
|
||||||
instance.registration(username, email, password, map);
|
User user = instance.registration(username, email, password, map);
|
||||||
|
logger.info("User '{}' registered", user.toString());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,10 @@ public void invoke(String... args) throws Exception {
|
||||||
if(profile == null) {
|
if(profile == null) {
|
||||||
logger.warn("Profile {} not found", args[0]);
|
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);
|
String token = server.authManager.newCheckServerToken(args[0], pair.name);
|
||||||
logger.info("Server token {} authId {}: {}", args[0], pair.name, token);
|
logger.info("Server token {} authId {}: {}", args[0], pair.name, token);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue