mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-01-09 17:19:47 +03:00
NPE runtime fix. Also allow empty passwords.
This commit is contained in:
parent
5b21ad4d7b
commit
d3db63aba3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue