mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-31 07:09:30 +02:00
Session using cookie
This commit is contained in:
parent
66432eda56
commit
9543ee6e34
7 changed files with 80 additions and 13 deletions
|
@ -22,6 +22,7 @@ switch ($do) {
|
|||
$d_pass = $d['password'];
|
||||
if (Password::_verify($password, $d_pass) == true) {
|
||||
$_SESSION['aid'] = $d['id'];
|
||||
Admin::setCookie($d['id']);
|
||||
$d->last_login = date('Y-m-d H:i:s');
|
||||
$d->save();
|
||||
_log($username . ' ' . $_L['Login_Successful'], 'Admin', $d['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue