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

don't show jwt secret if show option is false even if the key is updated #275

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kbiits
Copy link

@kbiits kbiits commented Jan 7, 2025

Description

Fixes #274
Adding a new option in jwt secret generator command for not showing the newly generated key.

Checklist:

  • I've added tests for my changes or tests are not applicable
  • I've changed documentations or changes are not required
  • I've added my changes to CHANGELOG.md

Copy link
Contributor

@mfn mfn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!


Confusingly, ->displayKey() also did this:

$this->laravel['config']['jwt.secret'] = $key;

Apparently for not much reason I believe though.

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.

Generate Secret Command - add option to not showing the key if it's updated
3 participants