浏览代码

Unset password when reading plain text file

Tankernn 8 年之前
父节点
当前提交
b72cdfe11b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/eu/tankernn/accounts/AccountManager.java

+ 1 - 0
src/eu/tankernn/accounts/AccountManager.java

@@ -62,6 +62,7 @@ public class AccountManager {
 			//If '[' is first, the JSON is *probably* valid
 			if (jsonString.startsWith("[")) {
 				accounts = parseJSON(jsonString);
+				lastPassword = null;
 				lastJSONString = jsonString;
 				return;
 			}