阅读背景:

symfony2安全性——禁用登录路径并显示禁止

来源:互联网 

i am trying to prevent redirect to login page when user is trying to access a page without token, i have single page app and i am only putting the ajax requests under firewall and when a user is doing ajax without token i want the ajax to return forbidden exception so i will be able to catch it in client sidei am trying to prevent redirect to login page w




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: