diff options
author | 2020-11-22 13:49:09 +0100 | |
---|---|---|
committer | 2020-11-22 13:49:09 +0100 | |
commit | 4569b85489e863465395f84e995dd3fdc44471b4 (patch) | |
tree | 6e4d27883809c94c8b3f3b87159d85c7f3874bbd /client/src/admin/api/logout.js | |
parent | 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (diff) | |
download | website_creator-4569b85489e863465395f84e995dd3fdc44471b4.tar.gz website_creator-4569b85489e863465395f84e995dd3fdc44471b4.tar.bz2 website_creator-4569b85489e863465395f84e995dd3fdc44471b4.zip |
implement refresh tokens
Diffstat (limited to 'client/src/admin/api/logout.js')
-rw-r--r-- | client/src/admin/api/logout.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/admin/api/logout.js b/client/src/admin/api/logout.js index b0a9841..76137da 100644 --- a/client/src/admin/api/logout.js +++ b/client/src/admin/api/logout.js @@ -3,5 +3,6 @@ export default () => ( method: 'POST', }) .then(() => window.location.href = "/") + .then(() => console.log('it will logout')) .catch(() => {}) ); |