forked from sim0n00ps/OF-DL
Never delete auth.json
This commit is contained in:
parent
f148070426
commit
d1968d2981
@ -673,8 +673,8 @@ public class Program
|
||||
Log.Information("Auth file found but could not be deserialized");
|
||||
if (!config!.DisableBrowserAuth)
|
||||
{
|
||||
Log.Debug("Deleting auth.json");
|
||||
File.Delete("auth.json");
|
||||
//Log.Debug("Deleting auth.json");
|
||||
//File.Delete("auth.json");
|
||||
}
|
||||
|
||||
if (cliNonInteractive)
|
||||
@ -945,10 +945,10 @@ public class Program
|
||||
auth = null;
|
||||
if (!config!.DisableBrowserAuth)
|
||||
{
|
||||
if (File.Exists("auth.json"))
|
||||
{
|
||||
File.Delete("auth.json");
|
||||
}
|
||||
//if (File.Exists("auth.json"))
|
||||
//{
|
||||
// File.Delete("auth.json");
|
||||
//}
|
||||
}
|
||||
|
||||
if (!cliNonInteractive && !config!.DisableBrowserAuth)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user