app/js/redVerSess.js
Showing 0 of 1 total issue
Function redVerSess
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Wontfix
Wontfix
function redVerSess() { const token = localStorage.getItem('token'); const user = localStorage.getItem('user'); if (!token || !user) window.location.href = '/login.html';
- Read upRead up