1. Christian Specht
  2. Bitbucket Backup

Commits

Christian Specht  committed 7879e20

don't try to decrypt the password if it's empty

  • Participants
  • Parent commits b645b4f
  • Branches default

Comments (0)

Files changed (1)

File src/BitbucketBackup/Config.cs

View file
  • Ignore whitespace
         {
             get
             {
+                if (String.IsNullOrEmpty(Settings.Default.PassWord))
+                {
+                    return Settings.Default.PassWord;
+                }
+
                 return StringEncryptor.Decrypt(Settings.Default.PassWord);
             }
             private set