fix signin too relax bug

This commit is contained in:
Dobromir Popov
2024-05-01 14:38:14 +03:00
parent 11cf6696ff
commit f2fc549265
4 changed files with 93 additions and 65 deletions

View File

@ -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,
},
};