summaryrefslogtreecommitdiffstats
path: root/webapp/components/login/components/login_mfa.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/login/components/login_mfa.jsx')
-rw-r--r--webapp/components/login/components/login_mfa.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/login/components/login_mfa.jsx b/webapp/components/login/components/login_mfa.jsx
index f8ebf1e82..f8d42012c 100644
--- a/webapp/components/login/components/login_mfa.jsx
+++ b/webapp/components/login/components/login_mfa.jsx
@@ -31,7 +31,7 @@ export default class LoginMfa extends React.Component {
state.serverError = '';
this.setState(state);
- this.props.submit(this.props.method, this.props.loginId, this.props.password, token);
+ this.props.submit(this.props.loginId, this.props.password, token);
}
render() {
let serverError;
@@ -85,7 +85,6 @@ LoginMfa.defaultProps = {
};
LoginMfa.propTypes = {
- method: React.PropTypes.string.isRequired,
loginId: React.PropTypes.string.isRequired,
password: React.PropTypes.string.isRequired,
submit: React.PropTypes.func.isRequired