mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kutils: clear the store password when setup to cache only
for the internal password checks Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
05e783c361
commit
9707bc6cb3
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ void KPasswdStoreImpl::setCacheOnly(const bool cacheonly)
|
|||
{
|
||||
m_cacheonly = cacheonly;
|
||||
m_cachemap.clear();
|
||||
if (cacheonly) {
|
||||
clearPasswd();
|
||||
}
|
||||
}
|
||||
|
||||
bool KPasswdStoreImpl::cacheOnly() const
|
||||
|
|
Loading…
Add table
Reference in a new issue