You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2020. It is now read-only.
now in the theme you can react on each error type:
<template>
<div>
<div v-if="errors.register">There was a problem with registering: {{ errors.register }}</div>
<div v-if="errors.login">There was a problem with login: {{errors.login }}</div>
</div>
</template>
setup() {
const { errors, ... } = useUser()
// ...
return { errors };
}
errorsobject that contains all of errors under the keys that are defined in the core.errorsfield in the theme and is able to react on particular error itself.example of composable function:
now in the theme you can react on each error type: