Skip to content

Refactor basicAuth middleware to use runtime configuration correctly#599

Merged
Baroshem merged 1 commit intoBaroshem:chore/2.2.0from
ivanvakulov:issue595
Mar 4, 2025
Merged

Refactor basicAuth middleware to use runtime configuration correctly#599
Baroshem merged 1 commit intoBaroshem:chore/2.2.0from
ivanvakulov:issue595

Conversation

@ivanvakulov
Copy link
Copy Markdown
Contributor

@ivanvakulov ivanvakulov commented Jan 22, 2025

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Updated the basicAuth middleware to pass event context into useRuntimeConfig composable, ensuring proper access to private settings. Resolves #595

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

Updated the basicAuth middleware to pass event context into `useRuntimeConfig` composable, ensuring proper access to private settings.
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
security ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 0:19am

@Baroshem Baroshem changed the base branch from main to chore/2.2.0 March 4, 2025 07:41
@Baroshem Baroshem merged commit 219de57 into Baroshem:chore/2.2.0 Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

access useRuntimeConfig() within handlers

2 participants