| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
if (sfConfig::get('app_sfguardplugin_routes_register', true) && in_array('sfGuardAuth', sfConfig::get('sf_enabled_modules'))) |
|---|
| 4 |
|
|---|
| 5 |
{ |
|---|
| 6 |
$r = sfRouting::getInstance(); |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
$r->prependRoute('sf_guard_signin', '/login', array('module' => 'sfGuardAuth', 'action' => 'signin')); |
|---|
| 10 |
$r->prependRoute('sf_guard_signout', '/logout', array('module' => 'sfGuardAuth', 'action' => 'signout')); |
|---|
| 11 |
$r->prependRoute('sf_guard_password', '/request_password', array('module' => 'sfGuardAuth', 'action' => 'password')); |
|---|
| 12 |
} |
|---|
| 13 |
|
|---|