PLT-5210: Unify errors for invalid invite. (#5090)
Now shows the same error regardless of whether the user is logged in or logged out.
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
dc54e640c2
Коммит
b778db24a7
@@ -79,11 +79,16 @@ export default class SignupController extends React.Component {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
(e) => {
|
() => {
|
||||||
this.setState({ // eslint-disable-line react/no-did-mount-set-state
|
this.setState({ // eslint-disable-line react/no-did-mount-set-state
|
||||||
noOpenServerError: true,
|
noOpenServerError: true,
|
||||||
loading: false,
|
loading: false,
|
||||||
serverError: e.message
|
serverError: (
|
||||||
|
<FormattedMessage
|
||||||
|
id='signup_user_completed.invalid_invite'
|
||||||
|
defaultMessage='The invite link was invalid. Please speak with your Administrator to receive an invitation.'
|
||||||
|
/>
|
||||||
|
)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user