From 8cc200a72b547bb7e313cfa197c72f91dfe0c759 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 17 Jul 2004 17:46:51 +0000 Subject: Change the default for needToAuthenticate --- (limited to 'libopie2') diff --git a/libopie2/opiesecurity/multiauthpassword.cpp b/libopie2/opiesecurity/multiauthpassword.cpp index 16c8568..b9c8a39 100644 --- a/libopie2/opiesecurity/multiauthpassword.cpp +++ b/libopie2/opiesecurity/multiauthpassword.cpp @@ -61,9 +61,9 @@ bool MultiauthPassword::needToAuthenticate(bool at_poweron) { Config cfg("Security"); cfg.setGroup("Misc"); - if ( !at_poweron && cfg.readBoolEntry("onStart", true) ) + if ( !at_poweron && cfg.readBoolEntry("onStart", false) ) return true; - else if ( at_poweron && cfg.readBoolEntry("onResume", true) ) + else if ( at_poweron && cfg.readBoolEntry("onResume", false) ) return true; else return false; -- cgit v0.9.0.2