diff --git a/src/DAO/TFASites.cs b/src/DAO/TFASites.cs index ed4f366..203f177 100644 --- a/src/DAO/TFASites.cs +++ b/src/DAO/TFASites.cs @@ -10,7 +10,16 @@ namespace KeePassOTP { public static class TFASites { - const string TFA_JSON_FILE = "https://twofactorauth.org/api/v2/tfa.json"; + //const string TFA_JSON_FILE = "https://twofactorauth.org/api/v2/tfa.json"; + const string TFA_JSON_FILE_DEFAULT = "https://2fa.directory/api/v2/tfa.json"; + + public static string TFA_JSON_FILE + { + get + { + return KeePass.Program.Config.CustomConfig.GetString("KeePassOTP.TFASiteCheckURL", TFA_JSON_FILE_DEFAULT); + } + } public enum TFAPossible { Unknown, diff --git a/src/Properties/AssemblyInfo.cs b/src/Properties/AssemblyInfo.cs index 11c0ab8..0552b1a 100644 --- a/src/Properties/AssemblyInfo.cs +++ b/src/Properties/AssemblyInfo.cs @@ -30,5 +30,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.25.2")] -[assembly: AssemblyFileVersion("0.25.2")] \ No newline at end of file +[assembly: AssemblyVersion("0.26")] +[assembly: AssemblyFileVersion("0.26")] \ No newline at end of file diff --git a/version.info b/version.info index a08e9af..d13a267 100644 --- a/version.info +++ b/version.info @@ -1,5 +1,5 @@ : -KeePassOTP:0.25.2 +KeePassOTP:0.26 KeePassOTP!de:13 KeePassOTP!fr:5 KeePassOTP!pt:4