feat: redirect to requested doc after authentication

This commit is contained in:
Tom Moor
2019-08-05 22:25:19 -07:00
parent 38a67b1f9e
commit 5c99116898
3 changed files with 24 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ const Authenticated = observer(({ auth, children }: Props) => {
return children;
}
auth.logout();
auth.logout(true);
return null;
});