We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e70ab commit 576f84bCopy full SHA for 576f84b
src/middlewares/authentication-middleware.js
@@ -33,7 +33,7 @@ async function tokenValido ({ authorization }) {
33
}
34
35
const tokenDecodificado = authService.verifyToken(authorization)
36
- if (tokenDecodificado.email === undefined || tokenDecodificado.password === undefined) {
+ if (tokenDecodificado.email === undefined) {
37
return false
38
39
0 commit comments