Fix registration slider for invite code with inviteCode, email, and nonce

This commit is contained in:
Wolfgang Huß 2021-04-06 14:59:49 +02:00
parent e5830101e4
commit 0320d3bab1

View File

@ -51,8 +51,14 @@ export default {
this.method === 'invite-mail' ||
(this.method === 'invite-code' && this.inviteRegistration)
) {
if (this.method === 'invite-code' && this.inviteCode && this.nonce && this.email)
if (
this.method === 'invite-code' &&
this.overwriteSliderData.collectedInputData.inviteCode &&
this.overwriteSliderData.collectedInputData.nonce &&
this.overwriteSliderData.collectedInputData.email
) {
return { method: this.method, activePage: 'enter-nonce' }
}
return { method: this.method, activePage: null }
}
return {