feat: update login and logout components and labels

This commit is contained in:
Maximilian Liebmann 2025-05-04 04:36:11 +02:00 committed by SomeCodecat
parent 4d781775e3
commit 486e8cc1f8
6 changed files with 4 additions and 4 deletions

View file

@ -1,18 +0,0 @@
import { signOut } from '@/auth';
import Button from '../button';
import { faDoorOpen } from '@fortawesome/free-solid-svg-icons';
export function Logout() {
return (
<form
action={async () => {
'use server';
await signOut({ redirectTo: '/login' });
}}
>
<Button type='submit' mode='primary' icon={faDoorOpen}>
Sign Out
</Button>
</form>
);
}