diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-08-28 23:47:43 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-08-28 23:47:43 +0900 |
| commit | ffaec0b9712df9a5024c0883a154442f02b72a03 (patch) | |
| tree | 004e54ee0115860d8fa009ad8f5e2e14479ef239 /src/web/app/common/scripts | |
| parent | WIP #738 (diff) | |
| download | sharkey-ffaec0b9712df9a5024c0883a154442f02b72a03.tar.gz sharkey-ffaec0b9712df9a5024c0883a154442f02b72a03.tar.bz2 sharkey-ffaec0b9712df9a5024c0883a154442f02b72a03.zip | |
#497
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/home-stream.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/home-stream.js b/src/web/app/common/scripts/home-stream.js index 24f13cd291..c54cbd7f19 100644 --- a/src/web/app/common/scripts/home-stream.js +++ b/src/web/app/common/scripts/home-stream.js @@ -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(); + }); } } |