This commit is contained in:
parent
f546edb810
commit
ffaec0b971
14 changed files with 137 additions and 33 deletions
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
import Stream from './stream';
|
||||
import signout from './signout';
|
||||
|
||||
/**
|
||||
* Home stream connection
|
||||
|
|
@ -12,6 +13,11 @@ class Connection extends Stream {
|
|||
});
|
||||
|
||||
this.on('i_updated', me.update);
|
||||
|
||||
this.on('my_token_regenerated', () => {
|
||||
alert('%i18n:common.my-token-regenerated%');
|
||||
signout();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue