ExternalAuth: use EmptyPage

This commit is contained in:
Alex Gleason 2022-04-28 18:43:52 -05:00
parent a23fb9f1aa
commit 8134b5d016
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -172,7 +172,7 @@ const SwitchingColumnsArea: React.FC = ({ children }) => {
// Ex: use /login instead of /auth, but redirect /auth to /login
return (
<Switch>
<WrappedRoute path='/login/external' component={ExternalLogin} publicRoute exact />
<WrappedRoute path='/login/external' page={EmptyPage} component={ExternalLogin} content={children} publicRoute exact />
<WrappedRoute path='/email-confirmation' page={EmptyPage} component={EmailConfirmation} publicRoute exact />
<WrappedRoute path='/logout' page={EmptyPage} component={LogoutPage} publicRoute exact />