Closed ghost closed 6 years ago
login이 되어있어도 error message만 보여준다면 (user가 /user 나 /로 직접 url을 변경하지 않는 이상)user가 다시 login을 해야합니다. error message를 띄워주는 것 뿐만 아니라 user home page로 바로 redirect할 수 있는 버튼이나 링크도 같이 띄워주는 것이 좋을 것 같습니다.
login한 user가 의도적으로 intro페이지로 가는 경우는 다른 user로 login할 때 밖에 없을 것이라고 예상되는데 logout 버튼이 있어 해당 경우에는 쉽게 intro page로 이동할 수 있습니다. 다른 user로 새로 login하는 경우 이외에는 user가 실수로 intro page로 이동하는 경우밖에 없을 것 같아 error message를 보여주는 대신 redirect를 하는 것도 괜찮은 것 같습니다.