Skip to content
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

fix: Remove redundant middleware insertion #415

Merged
merged 3 commits into from
Jun 21, 2023

Conversation

evansims
Copy link
Member

@evansims evansims commented Jun 21, 2023

Changes

This PR removes a redundant middleware insertion call that in some circumstances could cause the session-based authentication guard to be invoked during stateless/token-based authorization requests.

References

Testing

Contributor Checklist

@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (e556649) 100.00% compared to head (f4432e3) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##                main      #415   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity       502       502           
===========================================
  Files             31        31           
  Lines           1279      1279           
===========================================
  Hits            1279      1279           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/ServiceProviderAbstract.php 100.00% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@evansims evansims marked this pull request as ready for review June 21, 2023 17:36
@evansims evansims requested a review from a team as a code owner June 21, 2023 17:36
@evansims evansims added the Scope: Bug Confirmed report of unexpected problems or unintended behavior. label Jun 21, 2023
@evansims evansims enabled auto-merge June 21, 2023 17:36
@evansims evansims mentioned this pull request Jun 21, 2023
6 tasks
@evansims evansims added this pull request to the merge queue Jun 21, 2023
Merged via the queue into main with commit eaebb39 Jun 21, 2023
10 checks passed
@evansims evansims deleted the fix/remove-redundant-middleware-insertion branch June 21, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Bug Confirmed report of unexpected problems or unintended behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants