diff --git a/src/components/UserPanel.vue b/src/components/UserPanel.vue index a7504705a..aee12d105 100644 --- a/src/components/UserPanel.vue +++ b/src/components/UserPanel.vue @@ -81,6 +81,10 @@ function logout() { session.destroy(); router.push('/login'); } + +function copyUserToken(){ + navigator.clipboard.writeText(session.getToken()); +}