Apache更新至2.4.27后,OrangeHrm中的CSRF令牌验证失败 [英] Csrf token validation failed in OrangeHrm after Apache update to 2.4.27

查看:186
本文介绍了Apache更新至2.4.27后,OrangeHrm中的CSRF令牌验证失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试登录时出现以下错误.我已经使用大多数浏览器进行了测试,但仍然存在相同的错误.

Getting following error while trying to login. I have been tested with most of the browser , yet same error.

使用php 5.6运行.

Running with php 5.6.

有什么想法,我应该研究哪个方面来解决问题.我一直在浏览错误日志,但是找不到该错误的任何提示.是否与apache或OrangeHrm有关.

Is there any idea , what aspect should i look into to resolve the issue. I have been looked through error logs , but unable to find any hints of this error. Does it something to do with apache or OrangeHrm.

推荐答案

感谢尝试提供帮助的人,我已经解决了该问题,如果有类似问题,我认为这可能对其他人有帮助:

Thanks guys, whoever tried to help, I have been resolved the issue and i think it may helpful for others if have similar issue:

在apache2中,该Cookie已通过http禁用,并且我们的网站不提供https服务.因此,我们必须在http上启用cookie,然后它才能工作.

In apache2 the cookie was disable over http and our site does not server https. So, we have to enable cookie over http and it works.

因此,据我了解,如果您遇到类似的问题,也请查看您的重定向设置.

So, from my understanding, if you have similar issue, look your redirect setting as well.

这篇关于Apache更新至2.4.27后,OrangeHrm中的CSRF令牌验证失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆