10 lines
467 B
TypeScript
10 lines
467 B
TypeScript
import { LoginForm } from "../../_components/LoginForm";
|
|
|
|
/** Administrator entry point. The form itself is shared with `/login`; the
|
|
* only difference is that a successful non-admin login is told it lacks
|
|
* administrative rights and pointed at the main app, instead of being shown
|
|
* a failure message it had already disproved by signing in. */
|
|
export default function AdminLoginPage() {
|
|
return <LoginForm heading="Đăng nhập quản trị" requireAdmin />;
|
|
}
|