I am using Symfony 1.4 and ORM as Propel in my project. I have configured the Settings.yml to secure my page. But can i make a custom login/logout by my action extending all the SfGuard plugins functionality.i found one article in SymfonyLab, but was not clear enough.
Easiest way to override the view of sfGuard signin:
1) Create a directory called 'sfGuardAuth' in your frontend module:
mkdir apps/frontend/modules/sfGuardAuth
mkdir apps/frontend/modules/sfGuardAuth/templates
2) Copy the default templates from the sfGuardPlugin folder to the new module
cp plugins/sfGuardPlugin/modules/sfGuardAuth/templates/* apps/frontend/modules/sfGuardAuth/templates
3) Edit the new files to your hearts content
4) Clear cache
./symfony cc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With