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

Token #30

Open
DevCapu opened this issue Aug 8, 2020 · 0 comments
Open

Token #30

DevCapu opened this issue Aug 8, 2020 · 0 comments
Labels
enhancement New feature or request javascript Pull requests that update Javascript code php Pull requests that update Php code

Comments

@DevCapu
Copy link
Owner

DevCapu commented Aug 8, 2020

Quando as views precisam vão fazer um ajax eu estou passando direto o id do usuário. Isso não é nada seguro, é melhor que assim que ocorra um login eu retorne um token e esse token seja enviado de volta e validado a cada requisição

@DevCapu DevCapu added enhancement New feature or request javascript Pull requests that update Javascript code php Pull requests that update Php code labels Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code php Pull requests that update Php code
Projects
None yet
Development

No branches or pull requests

1 participant