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
|
// @flow
|
||||||
import * as PAGES from 'constants/pages';
|
|
||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { withRouter } from 'react-router';
|
import { withRouter } from 'react-router';
|
||||||
import Page from 'component/page';
|
import Page from 'component/page';
|
||||||
|
@ -39,7 +38,6 @@ function SignInVerifyPage(props: Props) {
|
||||||
message: message || __('Authentication failure.'),
|
message: message || __('Authentication failure.'),
|
||||||
isError: true,
|
isError: true,
|
||||||
});
|
});
|
||||||
push(`/$/${PAGES.AUTH}`);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue