fixed getSaleProperiesById and make login type is email
All checks were successful
Build frontend / build (push) Successful in 1m46s

This commit is contained in:
hamzaobed7
2026-08-11 16:04:09 +03:00
parent 4924e7c2f3
commit 00dde588cb
10 changed files with 421 additions and 394 deletions

View File

@ -40,6 +40,7 @@ export function middleware(request) {
return NextResponse.redirect(new URL("/", request.url));
}
if (isOwnerRoute && !isOwner) {
return NextResponse.redirect(new URL("/", request.url));
}