Permalink
Browse files

1.0.6.0: add 'Auto Allow' option fix #48 pfn/passifox#68 pfn/passifox#59

  • Loading branch information...
pfn committed May 30, 2012
1 parent 2e668ec commit 0c73a6eb68a41126f9630ef989f28564b379b52d
View
Binary file not shown.
View
@@ -157,9 +157,12 @@ private void GetLoginsHandler(Request r, Response resp, Aes aes)
return title != host && entryUrl != host || (submithost != null && title != submithost && entryUrl != submithost);
};
+ var config = GetConfigEntry(true);
+ var autoAllowS = config.Strings.ReadSafe("Auto Allow");
+ var autoAllow = autoAllowS != null && autoAllowS.Trim() != "";
var needPrompting = from e in items where filter(e) select e;
- if (needPrompting.ToList().Count > 0)
+ if (needPrompting.ToList().Count > 0 && !autoAllow)
{
var wait = new ManualResetEvent(false);
var clicked = false;
View
Binary file not shown.
@@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Perry Nguyen")]
[assembly: AssemblyProduct("KeePass Plugin")]
-[assembly: AssemblyCopyright("Copyright © Perry Nguyen 2010")]
+[assembly: AssemblyCopyright("Copyright © Perry Nguyen 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.1.7.0")]
-[assembly: AssemblyFileVersion("1.0.5.0")]
+[assembly: AssemblyFileVersion("1.0.6.0")]

0 comments on commit 0c73a6e

Please sign in to comment.