Miscellaneous > Off-Topic

how can bypass my roundcube login page

<< < (2/3) > >>

SKaero:
You should be able to do the automatic login with the autologon plugin that comes with Roundcube. You'll need to add a hook for login_after http://trac.roundcube.net/wiki/Plugin_Hooks#login_after to redirect to the compose page after the login is complete.

kollol:
thanks sir....
i will try this...
pls pray for me...

kollol:
it's original  plugin...
// allow plug-ins to control the redirect url after login success
        $redir = $RCMAIL->plugins->exec_hook('login_after', $query + array('_task' => 'mail'));
        unset($redir['abort'], $redir['_err']);

        // send redirect
        $OUTPUT->redirect($redir, 0, true);

AND
it's modify plugin
   $redir = $RCMAIL->plugins->exec_hook('login_after', $query + array('_task' => 'compose'));
        unset($redir['abort'], $redir['_err']);


pls Ans me..it's right or wrong...
 

SKaero:
It looks like your mixing php and javascript syntax, can you post the whole file so I a better idea whats going on?

kollol:
ok sir....
i attachment index.php file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version