mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 07:43:45 +02:00
Finish authentication flow for 2FA
This commit is contained in:
@@ -12,8 +12,6 @@ type State = Readonly<{
|
||||
}>;
|
||||
|
||||
export default class LoginContainer extends React.PureComponent<RouteComponentProps, State> {
|
||||
username = React.createRef<HTMLInputElement>();
|
||||
|
||||
state: State = {
|
||||
isLoading: false,
|
||||
};
|
||||
@@ -33,7 +31,7 @@ export default class LoginContainer extends React.PureComponent<RouteComponentPr
|
||||
}
|
||||
|
||||
this.props.history.replace('/login/checkpoint', {
|
||||
token: response.token,
|
||||
token: response.confirmationToken,
|
||||
});
|
||||
})
|
||||
.catch(error => this.setState({
|
||||
|
||||
Reference in New Issue
Block a user