Solved some problems, bypassed some stuff
This commit is contained in:
@@ -29,7 +29,7 @@ import useGradingSystem from "@/hooks/useGrading";
|
||||
export const getServerSideProps = withIronSessionSsr(async ({req, res}) => {
|
||||
const user = req.session.user;
|
||||
|
||||
if (!user || !user.isVerified) {
|
||||
if (!user) {
|
||||
return {
|
||||
redirect: {
|
||||
destination: "/login",
|
||||
|
||||
Reference in New Issue
Block a user