diff --git a/application/libraries/Aauth.php b/application/libraries/Aauth.php index d43000e..239ab4a 100644 --- a/application/libraries/Aauth.php +++ b/application/libraries/Aauth.php @@ -185,7 +185,7 @@ class Aauth { $this->error($this->CI->lang->line('aauth_error_no_user')); return FALSE; } - if($this->config_vars['totp_active'] == TRUE AND $this->config_vars['totp_only_on_ip_change'] == FALSE AND $this->config_vars['totp_two_step_login_active'] == FALSE){ + if($this->config_vars['totp_active'] == TRUE AND $this->config_vars['totp_only_on_ip_change'] == FALSE AND $this->config_vars['totp_two_step_login_active'] == TRUE){ if($this->config_vars['totp_two_step_login_active'] == TRUE){ $this->CI->session->set_userdata('totp_required', true); }