mirror of
https://github.com/beemdevelopment/Aegis
synced 2024-10-04 14:59:11 +00:00
Pass down the root shell to every SuFile for the Authy importer
The issue was introduced in: 69f0bb4fbc
This commit is contained in:
parent
224ec2553c
commit
57ec695718
|
@ -75,8 +75,13 @@ public class AuthyImporter extends DatabaseImporter {
|
||||||
JSONArray array;
|
JSONArray array;
|
||||||
JSONArray authyArray;
|
JSONArray authyArray;
|
||||||
try {
|
try {
|
||||||
array = readFile(new SuFile(path, String.format("%s.xml", _authFilename)), String.format("%s.key", _authFilename));
|
SuFile file1 = new SuFile(path, String.format("%s.xml", _authFilename));
|
||||||
authyArray = readFile(new SuFile(path, String.format("%s.xml", _authyFilename)), String.format("%s.key", _authyFilename));
|
file1.setShell(shell);
|
||||||
|
SuFile file2 = new SuFile(path, String.format("%s.xml", _authyFilename));
|
||||||
|
file2.setShell(shell);
|
||||||
|
|
||||||
|
array = readFile(file1, String.format("%s.key", _authFilename));
|
||||||
|
authyArray = readFile(file2, String.format("%s.key", _authyFilename));
|
||||||
} catch (IOException | XmlPullParserException e) {
|
} catch (IOException | XmlPullParserException e) {
|
||||||
throw new DatabaseImporterException(e);
|
throw new DatabaseImporterException(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue