[admin] allow impersonation for superusers, for debugging purposes

This commit is contained in:
Andrea 2022-01-15 22:01:58 +01:00
parent da70790ec0
commit 251acded50
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
<template v-slot:row="s">
<td>
<a :href="'https://pronouns.page/@' + s.el.username">@{{s.el.username}}</a>
<a href="#" class="badge bg-primary text-white" @click.prevent="impersonate(s.el.username)"><Icon v="user-secret"/></a>
<a href="#" class="badge bg-primary text-white" @click.prevent="impersonate(s.el.email)"><Icon v="user-secret"/></a>
</td>
<td>
{{$datetime($ulidTime(s.el.id))}}