But the checkbox "Rember 2FA" is not display on the login.
I think the problem comes from the set_env method.
// settings we will export to the form javascript
$this_output = $this->api->output;
if ($this_output) {
$this->api->output->set_env('allow_save_device_30days',$rcmail->config->get('allow_save_device_30days',true));
$this->api->output->set_env('twofactor_formfield_as_password',$rcmail->config->get('twofactor_formfield_as_password',false));
}
The javascript test is false :
if(rcmail.env.allow_save_device_30days){
I activated the option :
$rcmail_config['allow_save_device_30days'] = true;
But the checkbox "Rember 2FA" is not display on the login.
I think the problem comes from the set_env method.
The javascript test is false :
if(rcmail.env.allow_save_device_30days){