Logout redirection possible?

discom

New member
Joined
Aug 14, 2007
Messages
2
Hello,

From our main website we have an option to login to DirectAdmin. Therefore we would like to be redirected back to the website upon logging out of DirectAdmin. Is there any way to do that and change the logout redirection to another url than '/CMD_LOGIN'? I can't find any option to do that when I check the config files. The only thing I did find is an CMD_LOGOUT setting but changing that doesn't do the trick.

Thanks in advance!
 
I vaguely recall seeing this question and a possible answer previously. Have you searched these forums?

Jeff
 
Create a hidden field within your login form with the name LOGOUT_URL and set the value to the url of your logout page.

i.e

<input type='hidden' name='LOGOUT_URL' value='http://www.domain.com/logout.html'>
 
Create a hidden field within your login form with the name LOGOUT_URL and set the value to the url of your logout page.

i.e

<input type='hidden' name='LOGOUT_URL' value='http://www.domain.com/logout.html'>
Yesss, that was the secret...

Or was it documented somewhere I didn't know?? Anyway, thanks! :)
 
Back
Top