[PR #6504] [MERGED] fix(cli): secret generates empty #32312

Closed
opened 2026-04-17 23:09:23 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6504
Author: @himself65
Created: 12/3/2025
Status: Merged
Merged: 12/3/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/12/03/broken


📝 Commits (1)

  • 7d485f3 fix(cli): secret script is broken

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 packages/cli/src/commands/secret.ts (+1 -2)

📄 Description

Summary by cubic

Fixes the CLI secret command so it runs without errors and prints the .env instructions. Replaced the better-auth logger with console.log and removed the unused import.

Written for commit 7d485f31fa. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6504 **Author:** [@himself65](https://github.com/himself65) **Created:** 12/3/2025 **Status:** ✅ Merged **Merged:** 12/3/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/12/03/broken` --- ### 📝 Commits (1) - [`7d485f3`](https://github.com/better-auth/better-auth/commit/7d485f31fad7e41b1f46ad85e6efd1e27feb234c) fix(cli): `secret` script is broken ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/commands/secret.ts` (+1 -2) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixes the CLI `secret` command so it runs without errors and prints the .env instructions. Replaced the `better-auth` logger with `console.log` and removed the unused import. <sup>Written for commit 7d485f31fad7e41b1f46ad85e6efd1e27feb234c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 23:09:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#32312