diff options
| author | Simeon Simeonov | 2018-04-13 15:24:01 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2018-04-13 15:24:01 +0200 |
| commit | 46275eef3de4e025b5657e67e142fc58125779be (patch) | |
| tree | 2c4e86aa5f7e286d64a74a35d749c5e381110cad /src/main.c | |
| parent | 42772c59f490d54d9766e1853daa35c08298f985 (diff) | |
Add support for auto-unloading av the master password
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -412,6 +412,13 @@ int main(int argc, char *argv[]) | |||
| 412 | 412 | ||
| 413 | remote_command_exec(); | 413 | remote_command_exec(); |
| 414 | 414 | ||
| 415 | #if USE_SSL | ||
| 416 | if (prefs_common.auto_unload_master_password && master_password_active()) { | ||
| 417 | debug_print("Auto unloading master password\n"); | ||
| 418 | unload_master_password(); | ||
| 419 | } | ||
| 420 | #endif | ||
| 421 | |||
| 415 | #if USE_UPDATE_CHECK | 422 | #if USE_UPDATE_CHECK |
| 416 | if (prefs_common.auto_update_check) | 423 | if (prefs_common.auto_update_check) |
| 417 | update_check(FALSE); | 424 | update_check(FALSE); |
