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

Dont display index at CreatedTokenModal #106

Open
Argonoize opened this issue Aug 1, 2024 · 0 comments
Open

Dont display index at CreatedTokenModal #106

Argonoize opened this issue Aug 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Argonoize
Copy link

I would like to have to ability to configure if I can display the Token index.

For auth:sanctum middleware it isn't necessary to give it the Token index

With a small adjustment
$token = $user->createToken('auth_token')->plainTextToken;
$tokenValue = explode('|', $token, 2)[1];

You are able to Display just the token without the index.

Would be great to have this configuration

@JeffBeltran JeffBeltran added the enhancement New feature or request label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants