diff --git a/public/admin/index.html b/public/admin/index.html index 02a110f..fd62b27 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -12,13 +12,13 @@
- + + // redirect when logging out +window.netlifyIdentity.on('logout', function () { + document.location.href = '/' +}) +