I want to be able to give a link to Roundcube with the username and password in it so it is prefilled at the login screen. Something like
http://mydomain.com/roundcube/index.php?username=john@mydomain.com&password=secret&host=mydomain.comI tried doing this in roundcube\program\include\rcmail_template.inc:
...
$input_user = new textfield(array('name' => '_user', 'id' => 'rcmloginuser', 'size' => 30, 'value' => $_GET['username']) + $attrib);
$input_pass = new passwordfield(array('name' => '_pass', 'id' => 'rcmloginpwd', 'size' => 30, 'value' => $_GET['password']) + $attrib);
$input_host = new textfield(array('name' => '_host', 'id' => 'rcmloginhost', 'size' => 30, 'value' => $_GET['host']);
...
Notice the 'value' => $_GET['xxx'] I added. This doesn't work because Roundcube insists on making the value="" but don't know where it's doing this. Can anybody help me make this work?