Skip to content

dev - migração localStorage → httpOnly cookie#71

Merged
icrcode merged 4 commits into
mainfrom
dev-melhorias-simples
Jun 23, 2026
Merged

dev - migração localStorage → httpOnly cookie#71
icrcode merged 4 commits into
mainfrom
dev-melhorias-simples

feat: atualizar testes de autenticação para verificar cookies httpOnl…

ba434c0
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 23, 2026 in 1m 44s

Quality Gate failed

Annotations

Check warning on line 46 in frontend/src/contexts/AuthContext.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The object passed as the value prop to the Context provider changes every render. To fix this consider wrapping it in a useMemo hook.

See more on https://sonarcloud.io/project/issues?id=icrcode_valida-ai&issues=AZ720ZAMxgGiYuON_4IS&open=AZ720ZAMxgGiYuON_4IS&pullRequest=71

Check warning on line 21 in backend/src/modulos/auth/rotas.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=icrcode_valida-ai&issues=AZ720Y3wxgGiYuON_4IR&open=AZ720Y3wxgGiYuON_4IR&pullRequest=71

Check warning on line 19 in backend/src/modulos/auth/rotas.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=icrcode_valida-ai&issues=AZ720Y3wxgGiYuON_4IQ&open=AZ720Y3wxgGiYuON_4IQ&pullRequest=71