clear entered password when leaving activity without opening database

This commit is contained in:
Philipp Crocoll 2014-12-25 22:19:54 +01:00
parent ae66f10690
commit 625e5337ce
1 changed files with 5 additions and 0 deletions

View File

@ -1347,6 +1347,11 @@ namespace keepass2android
}
}
protected override void OnPause()
{
base.OnPause();
ClearEnteredPassword(); //if the activity is left without opening the database, clear the password if entered
}
protected override void OnDestroy()
{