cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect Alfresco Share Logout Page to Custom Page

rutaveejshah
Champ in-the-making
Champ in-the-making
Hello Everyone!

I want to redirect my logout page to some another custom page.So where should i make the changes?

Please Reply.

Thanks.
2 REPLIES 2

cesarista
World-Class Innovator
World-Class Innovator
You can extend dologout controller.

 
zylk@alfie:/opt/alfresco/tomcat/webapps/share/WEB-INF$ grep -r dologout *

classes/alfresco/slingshot-application-context.xml:           

/dologout/**=logoutController

classes/alfresco/share-config.xml:              

<item type="link" id="logout" condition="!context.externalAuthentication">/dologout</item>

classes/alfresco/share-security-config.xml:              

<path>/page/dologout(\?.+)?</path>



In share-config-custom.xml you can define the logout url.

Hope this helps.

–C.

What if I wanted to keep the site in address bar when the user logs out so that they go to whatever page they were on upon relogin?

e.g If they were on /share/page/site/my-site/dashboard, they will logout to that page instead of just /share/page/