All you need to do is setup the Auto Login plugin /trunk/plugins/autologon/autologon.php ? Roundcube Webmail
hello all,
I modified the code of roundcube so that the username & password is hardcoded.
problem is that i have to click on the login button. i want the user to have direct access to its emails.
the following are the modifications i have done to hardcode the username & password:
replace
byCode:else if ($_SESSION['temp'] && !empty($_POST['_user']) && !empty($_POST['_pass']) && $RCMAIL->login(trim(get_input_value('_user', RCUBE_INPUT_POST), ' '), get_input_value('_pass', RCUBE_INPUT_POST, true, 'ISO-8859-1'), $host)) {
can someone help me ??Code:else if ($RCMAIL->login("me","mypassword",$host)){
thanks
Last edited by coolatt; 03-30-2010 at 01:48 PM. Reason: added code tags
All you need to do is setup the Auto Login plugin /trunk/plugins/autologon/autologon.php ? Roundcube Webmail
If you perform a fresh install you will need to re-import all of your contacts again, I'd recommend just doing a upgrade just follow the upgrade instructions http://trac.roundcube.net/wiki/Howto_Upgrade.
thanks skaero for advice.
but i tried something simpler and it is working.
i added a piece of javascript in login.html so that the form gets automatically submitted.
i got the idea from here:
but the story doesn't end here... i got to do some other code modifications in RoundCube to actually accomplish my project.![]()
I'd recommend upgrading it will be way easier to use the plugin api to do maledictions to RoundCube.
There are currently 1 users browsing this thread. (0 members and 1 guests)