Comments (6)
That parameter is defined in the FrameworkBundle:
https://github.com/fabpot/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Resources/config/security.xml
Are you sure you are uptodate?
from fosuserbundle.
Yes I'm 100% sure :( This is driving me crazy :(
And yes it's defined in the FrameworkBundle :s
from fosuserbundle.
Here is my config:
security.config:
providers:
main:
password_encoder: &password_encoder
sha1
id: fos_user.repository.user
firewalls:
main:
http-basic: true
form_login:
login_path: /security/login
check_path: /security/login-check
anonymous: true
logout: true
fos_user.config:
db_driver: orm
encoder:
algorithm:
<<: *password_encoder
class:
controller:
user: Application\FOS\UserBundle\Controller\FooController
model:
user: Application\FooBundle\Entity\User
form:
user: Application\FooBundle\Form\UserForm
from fosuserbundle.
You probably have no security.config section in your config, thus the security.xml will never be loaded into your container.
from fosuserbundle.
Ok :) Thanks a lot, this is working now ;)
We should fix the readme no? :)
Thanks to both of you and merry holidays :)
from fosuserbundle.
I don't really think it makes sense to use the bundle without security, but feel free to add something to the docs :)
from fosuserbundle.
Related Issues (20)
- Is this project maintained? HOT 3
- Will this bundle be upgraded to support Doctrine ORM 2.8? HOT 1
- Will this bundle support future symfony version (5) or is this project stopped? HOT 11
- how to override renderLogin fucntion of fosUserBundle?
- composer require not working HOT 2
- User->isAccountNonLocked used in ResettingListener but missing in UserInterface
- Release version 3.0 HOT 9
- FlashListener fix not included in the release HOT 1
- please consider supporting PHP 7.2.5, as that's the SF 5.x requirement HOT 1
- fos_user.listener.email_confirmation depends on non-existent service "session" HOT 2
- Call to undefined method getProviderKey() after confirming registration
- SECURI Authenticator does not support the request. Please help HOT 1
- PHP8.1 : deprecated function HOT 1
- Can't use incorrect type mixed for collection in FOS\UserBundle\Model\User:id HOT 3
- Issue with fos:user:deactivate HOT 1
- Registration: email confirmation
- Migration fos user 2.x to 3.x -> groups depreciation HOT 2
- Error when I deploy my symfony project with FosUser in production HOT 5
- XmlDriver Exception migrating to PHP 8.2 HOT 2
- Allow Symfony 7 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fosuserbundle.