Roundcube Community Forum

 

Authenticate in IE9

Started by theshado, September 20, 2012, 08:31:45 PM

Previous topic - Next topic

theshado

Does anybody know what the issue could be causing IE9 to not auto login after firing the authenticate hook?  I am trying to auto-login for my users, which works fine for everything except IE9.  It also works fine for IE9 in compatibility view.

What happens is authenticate *does* fire fine (even in IE9), but instead of actually logging in, IE9 goes to the login page.  It doesn't fire the fail hook or anything, so I don't know what could be happening here.  Hopefully somebody out there has seen this issue and knows whats up.

in my init I have:  $this->add_hook('authenticate', array($this, 'authenticate'));

and for the sake of argument, a snippet of the authenticate function:


function authenticate($args)
{
      $pwd = $r['mail_password'];
      $args['user'] = $r['mail_username'];
      $args['pass'] = $pwd;
      $args['host'] = $r['mail_servername'];
      $args['cookiecheck'] = false;
      $args['valid'] = true;
     
      return $args;
}


I have tried hardcoding those user/pass/host values as well just to make sure and still the same problem.

Thanks for any help folks, it is greatly appreciated!

SKaero

I haven't seen this behavior, are you getting anything in the RoundCube error log?

theshado

I get absolutely nothing in the error log.  When I replace the password with something invalid on purpose, it returns an error as expected.  The authenticate function is calling and returning just fine, so whatever happens afterwards is where the problem is for me.