Author |
|
iSofia Newbie
Joined: 24 May 2014 Location: Singapore
Online Status: Offline Posts: 35
|
Posted: 24 May 2014 at 11:01am | IP Logged
|
|
|
Hello. I read a post from the ever-helpful Igor, regarding custom logout screens. Here's the snippet:
Code:
return array(
'labs.webmail.custom-logout-url' => 'http://your.domain.com/',
...
); |
|
|
It works perfectly, but I was wondering if it would be possible to have more than one of these custom logout screens?
It would be nice for the user to be returned back to their own login screens when they log out.
Has anyone been able to do this?
|
Back to Top |
|
|
iSofia Newbie
Joined: 24 May 2014 Location: Singapore
Online Status: Offline Posts: 35
|
Posted: 01 June 2014 at 5:18am | IP Logged
|
|
|
Another issue resolved. The experimental labs approach through the config.php file limits the redirection to just one location. Perhaps it may still be possible if the getCurrent() API function is accessible from within config.php.
However, the solution is found in the app.js file, or app.min.js in the case of WebMail Lite. By using the getCurrent() API function, the domain name can be determined, and loaded in the logout procedure.
|
Back to Top |
|
|