Skip to content
This repository was archived by the owner on Nov 21, 2022. It is now read-only.

Conversation

@aldarund
Copy link
Contributor

It is need for custom auth flow e.g. passwordless https://aws-amplify.github.io/docs/js/authentication#using-a-custom-challenge
Also converts user to POJO object, because otherwise with simple assignment there will be two problems

amplify lib can mutate user object itself and it will lead to vuex error that state mutated from outside of actions. It could be avoided using Object.assing but there 2
nuxt will warn if vuex object not fully serializable e.g. non POJO nuxt/nuxt#4046

@bdeo bdeo merged commit 418c10a into vuetifyjs:master Nov 29, 2018
ArmandoHerra added a commit that referenced this pull request Jun 17, 2019
Sync repo with changes applied to upstream.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants