mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 01:30:13 +00:00
Add unfinished website section
This commit is contained in:
parent
d081be838a
commit
3d6fa86518
16 changed files with 3882 additions and 11 deletions
20
web/app/OAuthRedirectPage.vue
Normal file
20
web/app/OAuthRedirectPage.vue
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<template>
|
||||
<b-container class="d-flex justify-content-center"><span class="sr-only">Loading...</span><b-spinner class="m-5"></b-spinner></b-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import API from "./API";
|
||||
|
||||
export default {
|
||||
async created() {
|
||||
const code = this.$route.query.code;
|
||||
if (!code) this.$router.push({ name: "home" });
|
||||
const me = await API.login(code);
|
||||
if (me) this.$router.push({ name: "home" });
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue