JeffBeltran / sanctum-tokens

Simple Nova Plugin to generate a Laravel Sanctum Personal Access Token
https://novapackages.com/packages/jeffbeltran/sanctum-tokens
51 stars 25 forks source link

Dont display index at CreatedTokenModal #106

Open Argonoize opened 1 month ago

Argonoize commented 1 month ago

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