mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not init credential store provider on save
This commit is contained in:
@@ -88,7 +88,10 @@ class PasswordSafeImpl @JvmOverloads constructor(val settings: PasswordSafeSetti
|
||||
override fun getAsync(attributes: CredentialAttributes): Promise<Credentials?> = runAsync { get(attributes) }
|
||||
|
||||
override fun save() {
|
||||
(currentProvider as? KeePassCredentialStore)?.save()
|
||||
val provider = _currentProvider
|
||||
if (provider.isInitialized()) {
|
||||
(provider.value as? KeePassCredentialStore)?.save()
|
||||
}
|
||||
}
|
||||
|
||||
fun clearPasswords() {
|
||||
|
||||
Reference in New Issue
Block a user