Initial commit: NetsKey ERP (copper & cream redesign)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
/**
|
||||
* /admin/login no longer exists as its own page — login is unified at
|
||||
* /login for every role, and the server decides where each account lands
|
||||
* after authenticating. This stub just catches anyone with an old
|
||||
* bookmark or link and forwards them, rather than a bare 404.
|
||||
*/
|
||||
export default function LegacyAdminLoginRedirect() {
|
||||
redirect("/login");
|
||||
}
|
||||
Reference in New Issue
Block a user