symfony1 - Symfony sfGuardPlugin : disable default routes

标签 symfony1 symfony-1.4 sfguard

我正在 symfony 1.4 中使用 sfGuardPlugin,我想知道如何摆脱它的“默认”路由。我的意思是“守卫/用户”、“守卫/权限”和“守卫/组”路线。

事实上,我已经设计了自己的后端,没有管理生成器,并且我使用自定义网址重新创建了这三个页面。那么如何禁用对默认 sfGuard 页面的访问?

最佳答案

app.yml:

all:
  sf_guard_plugin:
    routes_register: false

documentation 中所述.

关于symfony1 - Symfony sfGuardPlugin : disable default routes,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6834198/

相关文章:

php - symfony2 的 sfguard 包

java - 从 PHP 调用 java 代码

mysql - Symfony 推进标准

php - 将时间戳列中的值截断为仅日期部分,删除 Doctrine 1.2 中的时间

php - 如何使用 cURL 签署使用 sfGuardUser 的 Symfony 项目?

symfony1 - 如何在symfony1.4中设置和显示flash信息

php - Zend_Acl : Using a database for persistance, 序列化 acl 对象还是使用特殊模式更好?

PHP 警告 : array_shift() expects parameter 1 to be array, null 在/home5/.../php/symfony/command/sfCommandManager.class.php 中给出

php - 向安全操作发送 POST 请求

symfony - 并行使用 safeGuard 和 FOSUserBundle