mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fix #2042 Back Link To Login Page
This commit is contained in:
parent
b4896c3839
commit
dcb4196a1a
@ -56,29 +56,32 @@
|
|||||||
<sweetalert-icon icon="error" />
|
<sweetalert-icon icon="error" />
|
||||||
</transition>
|
</transition>
|
||||||
<ds-text align="center">{{ error.message }}</ds-text>
|
<ds-text align="center">{{ error.message }}</ds-text>
|
||||||
|
<ds-space centered class="space-top">
|
||||||
|
<nuxt-link to="/login">{{ $t('site.back-to-login') }}</nuxt-link>
|
||||||
|
</ds-space>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
||||||
|
|
||||||
export const SignupMutation = gql`
|
export const SignupMutation = gql`
|
||||||
mutation($email: String!) {
|
mutation($email: String!) {
|
||||||
Signup(email: $email) {
|
Signup(email: $email) {
|
||||||
email
|
email
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
export const SignupByInvitationMutation = gql`
|
export const SignupByInvitationMutation = gql`
|
||||||
mutation($email: String!, $token: String!) {
|
mutation($email: String!, $token: String!) {
|
||||||
SignupByInvitation(email: $email, token: $token) {
|
SignupByInvitation(email: $email, token: $token) {
|
||||||
email
|
email
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
export default {
|
export default {
|
||||||
name: 'Signup',
|
name: 'Signup',
|
||||||
components: {
|
components: {
|
||||||
SweetalertIcon,
|
SweetalertIcon,
|
||||||
@ -148,5 +151,10 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.space-top {
|
||||||
|
margin-top: 6ex;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user