mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix missing invalid password errors on claim pages (#3236)
This commit is contained in:
committed by
Harrison Healey
parent
9857b60b98
commit
d337e42c4b
@@ -54,8 +54,8 @@ export default class EmailToLDAP extends React.Component {
|
||||
window.location.href = data.follow_link;
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
this.setState({error});
|
||||
(err) => {
|
||||
this.setState({error: err.message});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -39,8 +39,8 @@ export default class EmailToOAuth extends React.Component {
|
||||
window.location.href = data.follow_link;
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
this.setState({error});
|
||||
(err) => {
|
||||
this.setState({error: err.message});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -46,8 +46,8 @@ export default class OAuthToEmail extends React.Component {
|
||||
browserHistory.push(data.follow_link);
|
||||
}
|
||||
},
|
||||
(error) => {
|
||||
this.setState({error});
|
||||
(err) => {
|
||||
this.setState({error: err.message});
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user