• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'Remember Me' doesn't work

[eluser]PHP Programmer[/eluser]

I am trying to 'remember me' feature of userauth application but it is not working. I am unable to keep remember my username/password for future use. Also, I have enabled cookies in my system.

Is there something I need to do in the function to correct this feature??

Please help


Show me code

[eluser]PHP Programmer[/eluser]
I have no code for the same. What I only have is -

if($username && $password) {
if($this->userauth->trylogin($username, $password, TRUE)) {
if ($remember_me) {
// return page is based on flash data
redirect ($this->session->flashdata('uri'));
} else {
$data['content'] = '<p class="error">'
. $this->lang->line('ua_log_error').'</p>';

But I am missing remember_me.php file and addRememberMe() function.

Where can I find them in userauth application?

Which Auth Lib ? Ask Qs to its creator if above requirements are possible or not.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.