Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Participant Token Lock out

More
10 months 2 weeks ago #270037 by SSPG_ETHZ
Your LimeSurvey version: Community Edition Version 6.10.0+250106 
Own server or LimeSurvey hosting: Own Hosting
==================

Hello

We are trying to configure the Participant Lock Out via either config-defaults.php or config.php (tried both files).

Default Value in config-default.php is
Code:
$config['maxLoginAttemptParticipants']    = 30; // Lock them out after 3 attempts $config['timeOutParticipants']        = 60 * 10; // Lock them out for 10 minutes.

We want to change these values (lets say 10 Attempts and 3min Lock-Out), but somehow they are not active afterwards. It still locks the participants out for 10 Minutes after 3 attempts.


Last part where I tried to configure in config.php:
Code:
        'config'=>array(         // debug: Set this to 1 if you are looking for errors. If you still get no errors after enabling this         // then please check your error-logs - either in your hosting provider admin panel or in some /logs directory         // on your webspace.         // LimeSurvey developers: Set this to 2 to additionally display STRICT PHP error messages and get full access to standard templates                 'debug'=>0,                 'debugsql'=>0, // Set this to 1 to enanble sql logging, only active when debug = 2                 // Mysql database engine (INNODB|MYISAM):                  'mysqlEngine' => 'MYISAM',                // Update default LimeSurvey config here                 'maxLoginAttemptParticipants'=>'10', // Lock them out after 10 attempts                 'timeOutParticipants'=>'60*2', // Lock them out for 2 minutes.         ) );



Is there maybe another step I'm missing for it to activate? (Webserver has been restarted)

Thank you in advance for any info.

Please Log in to join the conversation.

More
10 months 2 weeks ago #270042 by DenisChenu
Replaced (after installation) by admin GUI

www.limesurvey.org/manual/Global_settings/en#Security

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: SSPG_ETHZ

Please Log in to join the conversation.

More
10 months 2 weeks ago #270044 by SSPG_ETHZ
Oh man, Thank you!

Couldn't see the forest for the trees after all the searching in 3 year old posts I would say :-)

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose