mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Comment for adding 'nonce' in case
This commit is contained in:
parent
f7710be95c
commit
a9fc72b1bd
@ -285,7 +285,7 @@ export default {
|
|||||||
const locale = this.$i18n.locale()
|
const locale = this.$i18n.locale()
|
||||||
try {
|
try {
|
||||||
await this.$apollo.mutate({
|
await this.$apollo.mutate({
|
||||||
mutation: SignupVerificationMutation,
|
mutation: SignupVerificationMutation, // Wolle add nonce in 'SignupVerificationMutation' definition in case
|
||||||
variables: {
|
variables: {
|
||||||
name,
|
name,
|
||||||
password,
|
password,
|
||||||
|
|||||||
@ -68,6 +68,7 @@ import { isEmail } from 'validator'
|
|||||||
import normalizeEmail from '~/components/utils/NormalizeEmail'
|
import normalizeEmail from '~/components/utils/NormalizeEmail'
|
||||||
// Wolle import { SweetalertIcon } from 'vue-sweetalert-icons'
|
// Wolle import { SweetalertIcon } from 'vue-sweetalert-icons'
|
||||||
|
|
||||||
|
// Wolle add nonce in in case
|
||||||
export const SignupMutation = gql`
|
export const SignupMutation = gql`
|
||||||
mutation($email: String!) {
|
mutation($email: String!) {
|
||||||
Signup(email: $email) {
|
Signup(email: $email) {
|
||||||
@ -182,7 +183,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async onNextClick() {
|
async onNextClick() {
|
||||||
const { email } = this.formData
|
const { email } = this.formData
|
||||||
const variables = { email }
|
const variables = { email } // Wolle add nonce in case
|
||||||
|
|
||||||
if (!this.sendEmailAgain && this.sliderData.collectedInputData.emailSend) {
|
if (!this.sendEmailAgain && this.sliderData.collectedInputData.emailSend) {
|
||||||
return true
|
return true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user