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

Add CLI command to create API key for default superuser with AUTO_LOGIN enabled #1965

Merged
merged 6 commits into from
May 24, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request adds a new CLI command api_key that allows the creation of an API key for the default superuser when AUTO_LOGIN is enabled. The command checks if AUTO_LOGIN is enabled and if a default superuser exists. If both conditions are met, it creates a new API key for the superuser and displays it in a banner. The API key is only shown once and should be stored securely.

Copy link

vercel bot commented May 24, 2024

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

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 24, 2024 8:00pm

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels May 24, 2024
… whitespace in Python, JavaScript, and TypeScript files
@ogabrielluiz ogabrielluiz merged commit 8230434 into dev May 24, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant