import Dialog from '~/components/Dialog'; import type { PreAuthKey, User } from '~/types'; interface ExpireAuthKeyProps { authKey: PreAuthKey; user: User; } export default function ExpireAuthKey({ authKey, user }: ExpireAuthKeyProps) { return ( Expire Key Expire auth key? {/* TODO: Why is Headscale using email as the user ID here? https://github.com/juanfont/headscale/issues/2520 */} Expiring this authentication key will immediately prevent it from being used to authenticate new devices. This action cannot be undone. ); }