From 3a2db1ba1395a6d33de421ed5f3b04df53ced5bc Mon Sep 17 00:00:00 2001 From: paule Date: Wed, 31 Jan 2007 05:11:56 +0000 Subject: Specify correct parameters to needToAuthenticate() and login() so that appropriate setting is read when determining whether to authenticate or not. Fixes bug #1830. --- (limited to 'core') diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index 6fe0479..0e92040 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -578,7 +578,7 @@ void ServerApplication::togglePower() m_suspendTime = QDateTime::currentDateTime(); #ifdef QWS - if ( Opie::Security::MultiauthPassword::needToAuthenticate ( true ) && qt_screen ) { + if ( Opie::Security::MultiauthPassword::needToAuthenticate ( false ) && qt_screen ) { // Should use a big black window instead. // But this would not show up fast enough QGfx *g = qt_screen-> screenGfx ( ); @@ -597,7 +597,7 @@ void ServerApplication::togglePower() } if ( wasloggedin ) - login ( true ); + login ( false ); execAutoStart(m_suspendTime); //qcopBridge->closeOpenConnections(); -- cgit v0.9.0.2