mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 02:10:18 +01:00
15 lines
409 B
JavaScript
15 lines
409 B
JavaScript
"use client";
|
|
import LoginForm from '@/components/team/loginForm'
|
|
import { useAdminConnexion } from '@/context/adminConnexionContext';
|
|
import React from 'react'
|
|
|
|
export default function AdminLoginPage() {
|
|
const {login, useProtect} = useAdminConnexion();
|
|
|
|
useProtect();
|
|
|
|
return (
|
|
<LoginForm title="Admin login" placeholder="Admin password" buttonText={"Login"} onSubmit={login} />
|
|
);
|
|
}
|