mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix registration slider for invite code with inviteCode, email, and nonce
This commit is contained in:
parent
e5830101e4
commit
0320d3bab1
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user