mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Ошибка при запуске ServerWrapper(ECCryptCipher)
This commit is contained in:
parent
89c412cda1
commit
02cb32cd65
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ public ServerWrapper(Type type, Path configPath) {
|
||||||
public boolean auth() {
|
public boolean auth() {
|
||||||
try {
|
try {
|
||||||
LauncherConfig cfg = Launcher.getConfig();
|
LauncherConfig cfg = Launcher.getConfig();
|
||||||
AuthRequest request = new AuthRequest(config.login, SecurityHelper.newECEncryptCipher(cfg.publicKey).doFinal(IOHelper.encode(config.password)), config.auth_id, AuthRequest.ConnectTypes.SERVER);
|
AuthRequest request = new AuthRequest(config.login, config.password, config.auth_id, AuthRequest.ConnectTypes.SERVER);
|
||||||
permissions = request.request().permissions;
|
permissions = request.request().permissions;
|
||||||
ProfilesRequestEvent result = new ProfilesRequest().request();
|
ProfilesRequestEvent result = new ProfilesRequest().request();
|
||||||
for (ClientProfile p : result.profiles) {
|
for (ClientProfile p : result.profiles) {
|
||||||
|
|
Loading…
Reference in a new issue