halcyon-webclient/login/logout.php

3 lines
223 B
PHP

<script src="//yastatic.net/jquery/3.2.1/jquery.min.js"></script>
<script src="/assets/js/jquery-cookie/src/jquery.cookie.js"></script>
<script>localStorage.clear();$.removeCookie('session');location.href="/login";</script>