-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update guard_authentication.rst #7431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I still feel like the answer to "Can I have Multiple Authenticators?" is a bit confusing even with these adjustments, but I think it makes it more clear now at least what you have to adjust configuration wise. The original example simply shows the configuration for a single guard which is rather confusing considering the question it attempts to answer. BTW; can someone else add or give me the XML change necessary? I never use XML configuration so I am not sure if it is supposed to be an attribute or another element or what not.
@@ -531,6 +533,7 @@ Frequently Asked Questions | |||
|
|||
<guard> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the entry point, you can use an attribute here:
<guard entry-point="app.form_login_authenticator">
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheers
add guard attribute
copy & paste is difficult...
👍 Status: Reviewed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thank you @alcohol. |
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #7431). Discussion ---------- Update guard_authentication.rst I still feel like the answer to "Can I have Multiple Authenticators?" is a bit confusing even with these adjustments, but I think it makes it more clear now at least what you have to adjust configuration wise. The original example simply shows the configuration for a single guard which is rather confusing considering the question it attempts to answer. BTW; can someone else add or give me the XML change necessary? I never use XML configuration so I am not sure if it is supposed to be an attribute or another element or what not. Commits ------- 510ee61 Update guard_authentication.rst
I still feel like the answer to "Can I have Multiple Authenticators?" is a bit confusing even with these adjustments, but I think it makes it more clear now at least what you have to adjust configuration wise. The original example simply shows the configuration for a single guard which is rather confusing considering the question it attempts to answer.
BTW; can someone else add or give me the XML change necessary? I never use XML configuration so I am not sure if it is supposed to be an attribute or another element or what not.