Files
duocthu/apps/web/app/login/page.tsx
T

14 lines
501 B
TypeScript

import { LoginForm } from "../_components/LoginForm";
/**
* Login for any doctor, admin or not. Before this existed, `AccountMenu`'s
* "Đăng nhập" button sent everyone to `/admin/login`, which refused every
* non-admin account *after* already signing them in.
*
* Signing in stays entirely optional: anonymous chat is unchanged, and this
* page says so rather than implying an account is required.
*/
export default function LoginPage() {
return <LoginForm heading="Đăng nhập" />;
}