Add /signup route
This commit is contained in:
parent
28ead43f96
commit
16322e8d6c
|
@ -170,6 +170,7 @@ const SoapboxMount = () => {
|
|||
<Route exact path='/beta/:slug?' component={PublicLayout} />
|
||||
<Route exact path='/mobile/:slug?' component={PublicLayout} />
|
||||
<Route exact path='/login' component={AuthLayout} />
|
||||
<Route exact path='/signup' component={AuthLayout} />
|
||||
<Route path='/verify' component={AuthLayout} />
|
||||
<Route path='/reset-password' component={AuthLayout} />
|
||||
<Route path='/edit-password' component={AuthLayout} />
|
||||
|
|
|
@ -10,7 +10,7 @@ import { Card, CardBody } from '../../components/ui';
|
|||
import LoginPage from '../auth_login/components/login_page';
|
||||
import PasswordReset from '../auth_login/components/password_reset';
|
||||
import PasswordResetConfirm from '../auth_login/components/password_reset_confirm';
|
||||
// import EmailConfirmation from '../email_confirmation';
|
||||
import RegistrationForm from '../auth_login/components/registration_form';
|
||||
import Verification from '../verification';
|
||||
import EmailPassthru from '../verification/email_passthru';
|
||||
|
||||
|
@ -45,6 +45,7 @@ const AuthLayout = () => {
|
|||
<Route exact path='/verify' component={Verification} />
|
||||
<Route exact path='/verify/email/:token' component={EmailPassthru} />
|
||||
<Route exact path='/login' component={LoginPage} />
|
||||
<Route exact path='/signup' component={RegistrationForm} />
|
||||
<Route exact path='/reset-password' component={PasswordReset} />
|
||||
<Route exact path='/edit-password' component={PasswordResetConfirm} />
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ const Header = () => {
|
|||
|
||||
{(isOpen || features.pepe && pepeOpen) && (
|
||||
<Button
|
||||
to={features.pepe ? '/verify' : '/signup'} // FIXME: actually route this somewhere
|
||||
to={features.pepe ? '/verify' : '/signup'}
|
||||
theme='primary'
|
||||
>
|
||||
{intl.formatMessage(messages.register)}
|
||||
|
|
Loading…
Reference in New Issue