feat(api): add custom redirect back

This commit is contained in:
Mrugesh Mohapatra
2019-10-21 17:03:00 +05:30
committed by mrugesh
parent 3823ed19bc
commit aa62fdbfe9
9 changed files with 32 additions and 8 deletions

View File

@@ -162,7 +162,7 @@ export function ShowSettings(props) {
}
if (!showLoading && !isSignedIn) {
return navigate(`${apiLocation}/signin`);
return navigate(`${apiLocation}/signin?returnTo=settings`);
}
return (