Fixed the 2 step login

This commit is contained in:
Alejandro Gallardo Escobar 2014-12-12 12:38:08 +01:00
parent 5e80428ed9
commit c15df44434
1 changed files with 2 additions and 2 deletions

View File

@ -268,7 +268,7 @@ if (! isset ($config['id_user'])) {
if (isset ($double_auth_success) && $double_auth_success) {
// This values are true cause there are checked before complete the 2nd auth step
$nick_in_db = $config["prepared_login_da"]['id_user'];
$nick_in_db = $_SESSION["prepared_login_da"]['id_user'];
$expired_pass = false;
}
else {