Roundcube Community Forum

 

Launch another app from Roundcube with the same user/pass

Started by surfsurf, February 08, 2007, 04:32:55 PM

Previous topic - Next topic

surfsurf

Hi all, I added a button after the logout button on the task panel. When clicking this button it will launch a web-based jabber client, but I need to find a way to get the username and pass from the PHP SESSION and pass them in the jabber client url. But how do I get those values from the session? I can't find a way :(

bugler

Hi,

username is in $_SESSION['username']
password can be obtain by: decrypt_passwd($_SESSION['password'])

Hope this heps.