fossasia / accounts.susi.ai

Accounts Service for SUSI.AI http://accounts.susi.ai
GNU Lesser General Public License v2.1
1.51k stars 94 forks source link

Signup Route is not accessible to logged In users #690

Closed plxity closed 5 years ago

plxity commented 5 years ago

Fixes #637

Changes: Signup route is now not accessible to logged in users.

Surge Deployment Link: https://pr-690-fossasia-susi-accounts.surge.sh

plxity commented 5 years ago

@AakashMallik I have used life cycle method here to check if the user is logged in or not. Or should I create a component like ProtectedRoute?

plxity commented 5 years ago

@AdityaSrivast Link is working fine. Please check again.

AdityaSrivast commented 5 years ago

image

@plxity I'm still able to access the route.

plxity commented 5 years ago

@AdityaSrivast I checked it locally again, It is working perfectly fine. Lemme check the surge link once.

plxity commented 5 years ago

@akshatnitd @anshumanv please review this.

anshumanv commented 5 years ago

Doesn't seem to work for me in the surge link

image

plxity commented 5 years ago

@anshumanv Locally it works perfectly fine. I don't know what happens in surge links (sometimes it works). I am trying to figure it out.