fic dev and prod

This commit is contained in:
root
2026-05-17 09:18:31 -04:00
parent 52a6c95d1e
commit 58a3787f29
5 changed files with 43 additions and 91 deletions
@@ -304,7 +304,7 @@ function LocalSignInForm({ dict, portal }: {
}
document.cookie = `employee_token=${token}; path=/; max-age=28800; samesite=lax`
window.dispatchEvent(new CustomEvent('rentaldrivego:auth-changed'))
notifyParent({ type: 'rentaldrivego:employee-login', path: employeeRedirect })
notifyParent({ type: 'rentaldrivego:employee-login', path: '/dashboard' + employeeRedirect })
router.push(employeeRedirect)
return
}