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

[ToDo] 이미 로그인되어 있는 사용자 검증 로직 추가하기 #203

Open
saseungmin opened this issue Jun 11, 2021 · 0 comments
Labels
bug Something isn't working Improve 기능 개선 및 추가 사항 ToDo 할 일, To-Do

Comments

@saseungmin
Copy link
Collaborator

📌 이미 로그인되어 있는 사용자 검증 로직 추가하기

이미 로그인되어 있는 사용자는 localStorage에 사용자의 이메일이 저장되고 그에 따라 세션을 유지할 수 있게 된다.
하지만 localStorage는 사용자가 수정할 수 있기 때문에 해당 사용자가 회원가입이 되어있는 사용자인지를 확인해야 한다.
그러므로 아래 링크를 참고해서 사용자 검증 로직을 추가해줘야 한다.

더불어 이미 로그인이 되어있는 사용자이지만, /write url로 접속할 때 로그인이 안되어있다고 판단해 바로 메인 페이지로 리다이랙션을 시켜버린다. (수정예정)

👉

@saseungmin saseungmin added bug Something isn't working Improve 기능 개선 및 추가 사항 ToDo 할 일, To-Do labels Jun 11, 2021
saseungmin added a commit to saseungmin/project-react-2-saseungmin that referenced this issue Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Improve 기능 개선 및 추가 사항 ToDo 할 일, To-Do
Projects
None yet
Development

No branches or pull requests

1 participant