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

ProtectedRoute: prevent unwanted redirect #695

Closed AdityaSrivast closed 5 years ago

AdityaSrivast commented 5 years ago

Fixes #694

Changes: Currently, in ProtectedRoute component, when the user is not logged in, it is redirecting to /error-404. Instead, it should display not found for that page.

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

Screenshots for the change:

image

AdityaSrivast commented 5 years ago

@hkedia321 @akshatnitd @DNS-404 Can you please review?