Skip to content

fix(dx): skip secret prompt without tty#172

Merged
onmax merged 2 commits intomainfrom
fix/dx-non-tty-secret
Feb 18, 2026
Merged

fix(dx): skip secret prompt without tty#172
onmax merged 2 commits intomainfrom
fix/dx-non-tty-secret

Conversation

@onmax
Copy link
Collaborator

@onmax onmax commented Feb 18, 2026

Summary

  • Skip BETTER_AUTH_SECRET prompting when running non-interactively (no TTY) or during prepare.
  • Avoid prompting when a secret is already configured via runtimeConfig/env/.env.

Tests

  • pnpm lint
  • pnpm typecheck
  • pnpm test

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 18, 2026

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-modules/better-auth/@onmax/nuxt-better-auth@172

commit: 6c3c1f5

@onmax onmax merged commit f569b23 into main Feb 18, 2026
3 checks passed
@onmax onmax deleted the fix/dx-non-tty-secret branch February 18, 2026 13:58
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.

1 participant