VerifyPage: don't enter Sign Up page on failure
Entering the page causes the Sign Up flow to run, which is confusing.
This commit is contained in:
parent
13f9f24af7
commit
351eee76b3
1 changed files with 0 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
// @flow
|
||||
import * as PAGES from 'constants/pages';
|
||||
import React, { useState } from 'react';
|
||||
import { withRouter } from 'react-router';
|
||||
import Page from 'component/page';
|
||||
|
@ -39,7 +38,6 @@ function SignInVerifyPage(props: Props) {
|
|||
message: message || __('Authentication failure.'),
|
||||
isError: true,
|
||||
});
|
||||
push(`/$/${PAGES.AUTH}`);
|
||||
}
|
||||
|
||||
React.useEffect(() => {
|
||||
|
|
Loading…
Reference in a new issue