mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-19 21:39:18 +00:00
Merge pull request #1278 from alexbakker/fix-1077
Pass down the root shell to every SuFile for the Authy importer
This commit is contained in:
commit
6d73e5101c
1 changed files with 7 additions and 2 deletions
|
@ -75,8 +75,13 @@ public class AuthyImporter extends DatabaseImporter {
|
|||
JSONArray array;
|
||||
JSONArray authyArray;
|
||||
try {
|
||||
array = readFile(new SuFile(path, String.format("%s.xml", _authFilename)), String.format("%s.key", _authFilename));
|
||||
authyArray = readFile(new SuFile(path, String.format("%s.xml", _authyFilename)), String.format("%s.key", _authyFilename));
|
||||
SuFile file1 = new SuFile(path, String.format("%s.xml", _authFilename));
|
||||
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) {
|
||||
throw new DatabaseImporterException(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue