Skip to content

Commit 0e6e1ee

Browse files
committed
logiin - comment loading of crypt library, remove regeneration function
* the CI encription support was made using a now deprecated lib, but this library is available using the sury repositories or by the usage of the VenenuX repositories.. * just comment the library.. that's all, the frontend is used with a key that joins signed the user+pass with a secret word, so its not a important missing here.. * remove limitation of login view to force a email entry user
1 parent 4ac3c22 commit 0e6e1ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cweb/elcurrencyweb/controllers/Login.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function __construct()
1919
parent::__construct();
2020
$this->load->helper(array('form', 'url','html'));
2121
$this->output->enable_profiler(ENVIRONMENT !== 'production');
22-
$this->load->library('encrypt');
22+
//$this->load->library('encrypt');
2323
$this->load->library('session');
2424
$this->load->library('form_validation');
2525
}
@@ -63,7 +63,6 @@ public function home($idcheck = NULL)
6363
return;
6464
}
6565
}
66-
$this->session->sess_regenerate();
6766
$usuario['userlogin'] = 1;
6867
$usuario['usermail'] = $usermail;
6968
$usuario['username'] = $username;
@@ -130,7 +129,6 @@ public function logout()
130129
$userpass = NULL;
131130
}
132131
}
133-
$this->session->sess_regenerate();
134132
$usuario['userlogin'] = 0;
135133
$usuario['usermail'] = $usermail;
136134
$usuario['username'] = $username;

0 commit comments

Comments
 (0)