diff --git a/src/controllers/dashboard/users/usernew.html b/src/controllers/dashboard/users/usernew.html
deleted file mode 100644
index c3f77c5e4..000000000
--- a/src/controllers/dashboard/users/usernew.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
+
+
);
};
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 3cc489687..a1cbeadf5 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -2,6 +2,7 @@ import React from 'react';
import { Route, Routes } from 'react-router-dom';
import ConnectionRequired from '../components/ConnectionRequired';
+import NewUserPage from './NewUserPage';
import SearchPage from './search';
const AppRoutes = () => (
@@ -15,6 +16,14 @@ const AppRoutes = () => (
}
/>
+
+
+
+ }
+ />
{/* Suppress warnings for unhandled routes */}
diff --git a/src/scripts/routes.js b/src/scripts/routes.js
index e1f7cd8a3..fc5cea83b 100644
--- a/src/scripts/routes.js
+++ b/src/scripts/routes.js
@@ -445,14 +445,6 @@ import { appRouter } from '../components/appRouter';
pageComponent: 'UserLibraryAccessPage'
});
- defineRoute({
- alias: '/usernew.html',
- path: 'dashboard/users/usernew.html',
- autoFocus: false,
- roles: 'admin',
- pageComponent: 'NewUserPage'
- });
-
defineRoute({
alias: '/userparentalcontrol.html',
path: 'dashboard/users/userparentalcontrol.html',