Skip to content

Commit

Permalink
New source location for 2FA checks
Browse files Browse the repository at this point in the history
https://twofactorauth.org has been sold, https://2fa.directory has to be used as replacement
for details see 2factorauth/twofactorauth#5238

Closes #49
  • Loading branch information
Rookiestyle committed Feb 23, 2021
1 parent 4dbe698 commit 0dfda0b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion src/DAO/TFASites.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
[assembly: AssemblyVersion("0.26")]
[assembly: AssemblyFileVersion("0.26")]
2 changes: 1 addition & 1 deletion version.info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:
KeePassOTP:0.25.2
KeePassOTP:0.26
KeePassOTP!de:13
KeePassOTP!fr:5
KeePassOTP!pt:4
Expand Down

0 comments on commit 0dfda0b

Please sign in to comment.