emreakay / CodeIgniter-Aauth

Authorization, Authentication and User Management library for Codeigniter 2.x and 3.x to make easy user management and permission operations
http://emreakay.com
GNU Lesser General Public License v3.0
393 stars 234 forks source link

How attemp remove when successfully login or manual call function #252

Closed ghost closed 4 years ago

ghost commented 4 years ago

Please help me, i config to be true for 'remove_successful_attempts' => true, but still can't

and i using function $this->aauth->_reset_login_attempts(1); same,

my question what is parameter means for 1 because in table id is increment not ref by id user :(

please help my life

REJack commented 4 years ago

Its only $this->aauth->reset_login_attempts();, reset_login_attempts removed login attempts based on ip address so you will not need any user id.

ghost commented 4 years ago

Its only $this->aauth->reset_login_attempts();, reset_login_attempts removed login attempts based on ip address so you will not need any user id.

thank you so much, btw all function already to be use ? alright ?