mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-16 08:36:27 +01:00
0e4a111f81
Resolve #7779
50 lines
643 B
Vue
50 lines
643 B
Vue
<template>
|
|
<div>
|
|
{{ $ts.processing }}
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import * as os from '@/os';
|
|
import * as symbols from '@/symbols';
|
|
import { login } from '@/account';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
|
|
},
|
|
|
|
props: {
|
|
code: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: this.$ts.signup,
|
|
icon: 'fas fa-user'
|
|
},
|
|
}
|
|
},
|
|
|
|
mounted() {
|
|
os.apiWithDialog('signup-pending', {
|
|
code: this.code,
|
|
}).then(res => {
|
|
login(res.i, '/');
|
|
});
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|