diff --git a/platform/credential-store/src/PasswordSafeConfigurable.kt b/platform/credential-store/src/PasswordSafeConfigurable.kt index 8a54ecc1c974..84cd11aef6d2 100644 --- a/platform/credential-store/src/PasswordSafeConfigurable.kt +++ b/platform/credential-store/src/PasswordSafeConfigurable.kt @@ -170,9 +170,7 @@ internal class PasswordSafeConfigurableUi : ConfigurableUi settings.keepassDb = newDbFile.toString() try { - runModalTask("Saving KeePass database", cancellable = false) { - KeePassFileManager(newDbFile, getDefaultMasterPasswordFile(), getEncryptionSpec(), secureRandom).useExisting() - } + KeePassFileManager(newDbFile, getDefaultMasterPasswordFile(), getEncryptionSpec(), secureRandom).useExisting() } catch (e: IncorrectMasterPasswordException) { throw ConfigurationException("Master password for KeePass database is not correct (\"Clear\" can be used to reset database).")