diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-13 17:06:05 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-13 17:06:05 +0000 |
| commit | 18f8c8bdfa2575242f41dd775b6a51a38f962e1e (patch) | |
| tree | f007b6942fcf587534ac0f8d3b072f9045bcdb34 /app/lib | |
| parent | 91c10ffcf4c0577507970d71f1d21f4a7de51196 (diff) | |
| download | mullvadvpn-18f8c8bdfa2575242f41dd775b6a51a38f962e1e.tar.xz mullvadvpn-18f8c8bdfa2575242f41dd775b6a51a38f962e1e.zip | |
Add logout
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/backend.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 7cd5c0af1f..7d94baa5a5 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -36,6 +36,13 @@ class BackendImpl { }, 2000); }); } + + logout() { + return new Promise((resolve, reject) => { + // @TODO: Add logout call + resolve(); + }); + } } /** @@ -62,4 +69,8 @@ export default class Backend { return getImpl(this).login(account); } + logout() { + return getImpl(this).logout(); + } + }; |
