fix signin too relax bug
This commit is contained in:
@ -161,7 +161,7 @@ export const getServerSideProps = async (context) => {
|
||||
if (!session) {
|
||||
return {
|
||||
redirect: {
|
||||
destination: '/auth/login', // Adjust the login path as needed
|
||||
destination: '/auth/signin', // Adjust the login path as needed
|
||||
permanent: false,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user