Commits

Christian Specht committed 7879e20

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

Comments (0)

Files changed (1)

src/BitbucketBackup/Config.cs

         {
             get
             {
+                if (String.IsNullOrEmpty(Settings.Default.PassWord))
+                {
+                    return Settings.Default.PassWord;
+                }
+
                 return StringEncryptor.Decrypt(Settings.Default.PassWord);
             }
             private set