@@ -108,7 +108,7 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
return router.push(redirectTo);
}
- return router.push('/Page403');
+ return router.push('/');
catch (err) {
const errs = toArrayIfNot(err);
@@ -39,7 +39,7 @@ const AdminHomePage: NextPage<Props> = (props) => {
const router = useRouter();
if (!isAdmin) {
- router.push('/Page403');
+ router.push('/page403');
const { t } = useTranslation('admin');