confirm token in 2fa challenge

This commit is contained in:
Čarodej
2022-04-05 09:52:49 +02:00
parent 9f783fcd95
commit 10d8b592ea
13 changed files with 127 additions and 66 deletions

View File

@@ -135,7 +135,7 @@ const actions = {
const mutations = {
CHANGE_TWO_FACTOR_AUTHENTICATION_STATE(state, condition) {
state.user.data.attributes.two_factor_authentication = condition
state.user.data.attributes.two_factor_confirmed_at = condition
},
RETRIEVE_USER(state, user) {
state.user = user