Logout button in admin page

This commit is contained in:
Daniel García
2019-12-01 21:15:14 +01:00
parent b45b02b37e
commit 0d32179d07
4 changed files with 26 additions and 6 deletions

View File

@@ -191,7 +191,7 @@
<script>
function reload() { window.location.reload(); }
function msg(text) { alert(text); reload(); }
function msg(text) { text && alert(text); reload(); }
function identicon(email) {
const data = new Identicon(md5(email), { size: 48, format: 'svg' });
return "data:image/svg+xml;base64," + data.toString();