I have a web site that I want to have my users to be able to check their email. I have a form on a page that sends the user id and password to RoundCube. It was working great, and then stopped.
I noticed that it also sends a token ("_token") which seems to expire after a set amount of time.
Is there a way that I can generate the token from within the form to avoid it expiring?
Take a look at the autologon plugin /trunk/plugins/autologon/autologon.php ? Roundcube Webmail (http://trac.roundcube.net/browser/trunk/plugins/autologon/autologon.php) it could be modified so it would pickup the post info and automatically generate the token and login.
Quote from: skaero;29269Take a look at the autologon plugin /trunk/plugins/autologon/autologon.php ? Roundcube Webmail (http://trac.roundcube.net/browser/trunk/plugins/autologon/autologon.php) it could be modified so it would pickup the post info and automatically generate the token and login.
Hmmm... this might present a problem in that RoundCube is already loaded on my hosting service's machine, and they won't allow me to make any changes like plugins...
Is there a way to do this in-line with the HTML code that defines the Form and it's components? And I don't see where the "token" is generated... is that a browser component? I have the link set up correctly - it's just getting the token generated which appears to be my problem... can the "token" be found using either PHP or HTML?
I recommend to a custom install so it would be easier. The session token is generated by RoundCube and you couldn't create it outside of RoundCube.