mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Unset email pending state on error or we never remove the spinner
This commit is contained in:
parent
c7e2b09d8b
commit
c3dd9a4b17
@ -214,6 +214,7 @@ module.exports = React.createClass({
|
||||
this._refreshFromServer();
|
||||
this.setState({email_add_pending: false});
|
||||
}, (err) => {
|
||||
this.setState({email_add_pending: false});
|
||||
if (err.errcode == 'M_THREEPID_AUTH_FAILED') {
|
||||
var QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||
var message = "Unable to verify email address. "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user