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

Changing JWT_TTL in .env doesn't work #271

Open
mokhosh opened this issue Nov 11, 2024 · 0 comments · May be fixed by #272
Open

Changing JWT_TTL in .env doesn't work #271

mokhosh opened this issue Nov 11, 2024 · 0 comments · May be fixed by #272
Labels
bug Something isn't working

Comments

@mokhosh
Copy link

mokhosh commented Nov 11, 2024

Subject of the issue

Carbon methods are strongly typed. So, you can't provide seconds as a string.
This is what you get if you try to override JWT_TTL in your .env:

Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string given

Steps to reproduce

Override JWT_TTL in your .env.

@mokhosh mokhosh added the bug Something isn't working label Nov 11, 2024
@mokhosh mokhosh linked a pull request Nov 11, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant