fic dev and prod
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user