【问题标题】:Liferay server not redirecting to default page when session expires会话到期时 Liferay 服务器未重定向到默认页面
【发布时间】:2019-10-02 08:51:35
【问题描述】:

我希望 Liferay 7.0 服务器在会话到期时重定向到默认页面。

会话到期时的预期结果 - Liferay 应该重定向到http://localhost/web/customportal/login

会话到期时的实际结果 - Liferay 正在重定向到 http://localhost/web/guest

我关注了这篇文章-https://dev.liferay.com/en/discover/portal/-/knowledge_base/7-1/general-settings

通过添加更新“portal-ext.properties”

default.logout.page.path=/web/customportal/login
auth.forward.by.last.path=true

在控制面板 → 配置 → 实例设置中更新。
默认 注销页面 = /web/customportal/login

【问题讨论】:

    标签: liferay-7


    【解决方案1】:

    我已经找到了我的问题的答案,请在下面的“portal-ext.properties”中添加

    session.timeout.redirect.on.expire=true
    company.default.home.url=/web/customportal/login

    解决方法请参考以下网址-https://issues.liferay.com/browse/LPS-71039

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-09-11
      • 2023-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-18
      相关资源
      最近更新 更多