Browse Source

ip_address will be also updated in update_last_login()

develop
Emre Akay 11 years ago
parent
commit
270dc68540
  1. 10
      application/libraries/Aauth.php

10
application/libraries/Aauth.php

@ -735,6 +735,7 @@ class Aauth {
$user_id = $this->CI->session->userdata('id'); $user_id = $this->CI->session->userdata('id');
$data['last_login'] = date("Y-m-d H:i:s"); $data['last_login'] = date("Y-m-d H:i:s");
$data['ip_address'] = $this->CI->input->ip_address();
$this->CI->db->where('id', $user_id); $this->CI->db->where('id', $user_id);
return $this->CI->db->update($this->config_vars['users'], $data); return $this->CI->db->update($this->config_vars['users'], $data);
@ -1528,12 +1529,11 @@ class Aauth {
/** /**
* Coming with v2 * Coming with v2
* ------------- * -------------
* public id sini 0 a eşitleyip öyle kontrol yapabilirdik * public id sini 0 a eşitleyip öyle kontrol yapabilirdik (oni boşver uşağum)
* permission id yi permission parametre yap * permission id yi permission parametre yap
* performance impr. // tablo isimlerini configden çekmesin * performance impr. // tablo isimlerini configden çekmesin (şimdilik çeksin)
* captcha * captcha (hmm bi bakalım)
* mail fonksiyonları imtihanı * mail fonksiyonları imtihanı
* config
* stacoverflow * stacoverflow
* login e ip aderesi de eklemek lazım * login e ip aderesi de eklemek lazım
* list_users da grup_par verilirse ve adamın birden fazla grubu varsa nolurkun? // bi denemek lazım belki distinct ile düzelir * list_users da grup_par verilirse ve adamın birden fazla grubu varsa nolurkun? // bi denemek lazım belki distinct ile düzelir
@ -1555,6 +1555,8 @@ class Aauth {
* allow changed to allow_group * allow changed to allow_group
* deny changed to deny_group * deny changed to deny_group
* is member a yeni parametre eklendi * is member a yeni parametre eklendi
* allow_user() added
* deny_user() added
* *
* Done staff v1 * Done staff v1
* ----------- * -----------

Loading…
Cancel
Save