fix(portal): add invitation links and correct customer login routing
This commit is contained in:
@@ -27,8 +27,8 @@ const doChange = async (event: FormSubmitEvent<typeof state>) => {
|
||||
})
|
||||
|
||||
toast.add({title:"Ändern erfolgreich"})
|
||||
await auth.logout()
|
||||
return navigateTo("/login")
|
||||
await auth.fetchMe()
|
||||
return navigateTo(auth.getLandingPath(), { replace: true })
|
||||
} catch (err: any) {
|
||||
toast.add({title:"Es gab ein Problem beim ändern",color:"error"})
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user