Commits

Devin Martin committed 42faba8

Minor cleanup

  • Participants
  • Parent commits 1c0e890
  • Tags 1.0.33

Comments (0)

Files changed (3)

KeeCloud/Forms/FormCredentialWizard.cs

                 BannerStyle.Default,
                 Resource1.key_go,
                 this.Text,
-                "Enter a URL to go through the authentication process");
+                "Select a service to go through the authentication process");
 
             this.Icon = host.MainWindow.Icon;
 
 
         private void buttonCancel_Click(object sender, EventArgs e)
         {
-            if (MessageBox.Show("Are you sure you wish to cancel?", "Are you sure?", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
+            if (this.wizardState != WizardState.UrlEntry)
+            {
+                if (MessageBox.Show("Are you sure you wish to cancel?", "Are you sure?", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
+                    this.Close();
+            }
+            else
                 this.Close();
         }
 

KeeCloud/Providers/Dropbox/Api.cs

         and get your own keys.
 
         This is done to prevent bots from scraping the keys from the source code posted on the web.
+         
+        Every now and then an accidental checkin of keys may occur, but these are all dummy applications
+        created specifically for development that are deleted frequently and limited to the developer,
+        never the real production keys.
         */
 
         /// <summary>
         /// This is the App key provided by Dropbox
         /// </summary>
-        const string appKey = "lmtap1z523irkms";
+        const string appKey = "dummy";
         /// <summary>
         /// This is the App secret provided by Dropbox
         /// </summary>
-        const string appSecret = "2v9k5xze6f9r0ua";
+        const string appSecret = "dummy";
 
         public static DropNetClient Client
         {

KeeCloud/Utilities/DatabaseHelpers.cs

                         yield return subSubNode;
                 }
             }
-            else
-                throw new Exception();
         }
 
         public static bool EntryStringEquals(this PwEntry entry, string key, string expectedValue)