Fixed some Redirects for Mobile
Fixed other Login stuff on mobile
This commit is contained in:
@@ -14,7 +14,11 @@ const doLogin = async (data:any) => {
|
||||
await auth.login(data.email, data.password)
|
||||
// Weiterleiten nach erfolgreichem Login
|
||||
toast.add({title:"Einloggen erfolgreich"})
|
||||
return navigateTo("/")
|
||||
if(useCapacitor().getIsNative()) {
|
||||
return navigateTo("/mobile")
|
||||
} else {
|
||||
return navigateTo("/")
|
||||
}
|
||||
} catch (err: any) {
|
||||
toast.add({title:"Zugangsdaten falsch. Bitte überprüfen Sie Ihre Eingaben",color:"rose"})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user