0

我正在使用 Liferay 6.1CE。

我可以将我的默认登录页面设置为控制面板中的站点。但是在我的门户中有 2 个站点,有两个用户。例如:userA 是siteA 的成员,userB 也是siteB 的成员。

登录后如何将用户重定向到他们的网站。

我能做些什么?

4

2 回答 2

0

You can create the Liferay hook for your custom login post action. Please have a look at :

custom action using hook

on how to create the hook.

In the hook, you can identify the looged in user based on your search criteria and redirect to the relevant community.

于 2013-03-01T16:08:20.963 回答
0

我猜你的意思是两个社区的 2 个站点。无论如何,您需要创建post login action检查条件并在需要的地方重定向。

于 2013-03-01T09:26:42.753 回答