issues
search
osamhack2021
/
ai_web_RISKOUT_BTS
Risk Management Platform for the Military |🏅국방부장관상(Minister of National Defense Award)
https://riskout.org/
GNU General Public License v3.0
20
stars
1
forks
source link
* Login 관련 컴포넌트들 주석 제거 및 로직 추가 요청
#205
Closed
dev-taewon-kim
closed
2 years ago
dev-taewon-kim
commented
2 years ago
Header.js
에 아직도 API URI가 localhost로 설정되어 있습니다.
필요한 Modal이라면 반드시
/api/~~
형식으로 수정해 주세요.
현재 dev에 Login Modal의 기능들이 전부 주석 처리되어 있습니다.
LoginModal뿐 아니라 로그인 관련된 모든 컴포넌트의 주석 전부 제거해 주세요.
추가적으로, 현재 LoginModal에서 로그인이 되어있는지 확인하는 로직이 없습니다.
LoginModal, RegisterModal 등 로그인이 되어있으면 접속되면 안 되는 페이지들은 전부 로그인 여부 확인해서 로그인이 되어있으면
/
로 Redirection 하도록 해주세요.
반대로, Dashboard, Riskreport 등 기능 페이지에서는 로그인 여부 확인해서 로그인이 되어있지"않으면" 로그인 페이지로 Redirection 하도록 해주세요.
Header.js
에 아직도 API URI가 localhost로 설정되어 있습니다./api/~~
형식으로 수정해 주세요./
로 Redirection 하도록 해주세요.