-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
SF6: Use AbstractAuthenticator for TokenAuthenticator #34792
Conversation
M0rgan01
commented
Dec 8, 2023
•
edited
Loading
edited
Questions | Answers |
---|---|
Branch? | develop |
Description? | Update anonymous access, see https://symfony.com/doc/current/security.html#allowing-unsecured-access-i-e-anonymous-users. Use AbstractAuthenticator instead of AbstractGuardAuthenticator (deprecated) |
Type? | improvement |
Category? | BO |
BC breaks? | yes |
Deprecations? | no |
How to test? | CI and UI tests are green |
UI Tests | https://github.com/M0rgan01/ga.tests.ui.pr/actions/runs/7197890031 |
Fixed issue or discussion? | Fixes #34762 |
Related PRs | - |
Sponsor company | - |
0cc5d5b
to
37e332e
Compare
return false; | ||
} | ||
$explode = explode(' ', $authorization); | ||
if (count($explode) >= 2) { |
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.
It was already wrong initially, but there should be an else
statement that returns false if there are not two parts
8157f41
to
5359192
Compare
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.
lgtm 👍
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 UI Tests (Ping @PrestaShop/ui-tests-maintainers)
Thanks @M0rgan01 |