Define a basic login form with redirection to the Dashboard #127

Merged
bustikiller merged 8 commits from login-register-forms into main 2024-12-01 19:10:36 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 989820e41b - Show all commits

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
import { getCsrfToken } from '@/app/lib/utils'; import { getCsrfToken } from '@/app/lib/utils';
export function login({ email, password, onLogin }: { email: string, password: string, onLogin: () => void }) { export function login({ email, password, onLogin }: { email: string, password: string, onLogin: () => void }) {

View File

@ -1,3 +1,5 @@
/* Copyright (C) 2024 Manuel Bustillo*/
'use client'; 'use client';
import { FloatLabel } from 'primereact/floatlabel'; import { FloatLabel } from 'primereact/floatlabel';