diff options
Diffstat (limited to 'web/src/ZuulAuthProvider.jsx')
-rw-r--r-- | web/src/ZuulAuthProvider.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/src/ZuulAuthProvider.jsx b/web/src/ZuulAuthProvider.jsx index 7f844e843..b5d538c90 100644 --- a/web/src/ZuulAuthProvider.jsx +++ b/web/src/ZuulAuthProvider.jsx @@ -67,7 +67,8 @@ class ZuulAuthProvider extends React.Component { onSignIn: async (user) => { // Update redux with the logged in state and send the // credentials to any other tabs. - this.props.dispatch(userLoggedIn(user)) + const redirect = localStorage.getItem('zuul_auth_redirect') + this.props.dispatch(userLoggedIn(user, redirect)) this.props.channel.postMessage({ type: 'signIn', auth_params: auth_params, |