From d3db63aba3f9aef3cd72be04afa696b753d190e1 Mon Sep 17 00:00:00 2001 From: zaxar163 Date: Wed, 9 Jan 2019 13:53:59 +0400 Subject: [PATCH] NPE runtime fix. Also allow empty passwords. --- Launcher/runtime/dialog/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/runtime/dialog/dialog.js b/Launcher/runtime/dialog/dialog.js index 883792e5..f6c568d4 100644 --- a/Launcher/runtime/dialog/dialog.js +++ b/Launcher/runtime/dialog/dialog.js @@ -149,7 +149,7 @@ function goAuth(event) { var rsaPassword = null; if (!passwordField.isDisable()) { var password = passwordField.getText(); - if (!password.isEmpty()) { + if (password !== null) { rsaPassword = settings.setPassword(password); } else if (settings.rsaPassword !== null) { rsaPassword = settings.rsaPassword;