Remove password reset portal migration hint

This commit is contained in:
2021-11-15 06:14:54 +00:00
parent 04fa121fe9
commit be40624331
2 changed files with 5 additions and 25 deletions

View File

@@ -53,21 +53,6 @@ function ResetForm() {
/>
}
{error.email == 'Not on Spaceport.' &&
<Message
error
header={'You haven\'t registered to Spaceport yet'}
content={
<>
Please sign up to the new portal here:<br />
<Link to='/#outside-protospace-15c7b5'>
Spaceport Registration
</Link>
</>
}
/>
}
<Form.Button loading={loading} error={error.non_field_errors}>
Submit
</Form.Button>
@@ -92,6 +77,7 @@ function ConfirmForm() {
const handleSubmit = (e) => {
if (loading) return;
setLoading(true);
setProgress([]);
const request_id = token.slice(-10);
const getStatus = () => {
@@ -111,8 +97,6 @@ function ConfirmForm() {
setLoading(false);
setSuccess(true);
setError({});
history.push('/');
window.scrollTo(0, 0);
})
.catch(err => {
clearInterval(interval);
@@ -151,7 +135,6 @@ function ConfirmForm() {
<Form.Button loading={loading} error={error.non_field_errors}>
Submit
</Form.Button>
{success && <div>Success!</div>}
</Form>
);
};