You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -56,7 +56,7 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</Card>
|
</Card>
|
||||||
</transition>
|
</transition>
|
||||||
<Modal ref="loginModal" class="modal" header="Signing in">
|
<Modal ref="loginModal" class="modal" header="Signing in" :noblur="!themeStore.advancedRendering">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
|
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
|
||||||
<div class="modal-text">
|
<div class="modal-text">
|
||||||
@@ -114,6 +114,7 @@ import {
|
|||||||
} from '@/helpers/auth'
|
} from '@/helpers/auth'
|
||||||
import { get, set } from '@/helpers/settings'
|
import { get, set } from '@/helpers/settings'
|
||||||
import { handleError } from '@/store/state.js'
|
import { handleError } from '@/store/state.js'
|
||||||
|
import { useTheming } from '@/store/theme.js'
|
||||||
import { mixpanel_track } from '@/helpers/mixpanel'
|
import { mixpanel_track } from '@/helpers/mixpanel'
|
||||||
import QrcodeVue from 'qrcode.vue'
|
import QrcodeVue from 'qrcode.vue'
|
||||||
import { process_listener } from '@/helpers/events'
|
import { process_listener } from '@/helpers/events'
|
||||||
@@ -130,6 +131,7 @@ const emit = defineEmits(['change'])
|
|||||||
|
|
||||||
const loginCode = ref(null)
|
const loginCode = ref(null)
|
||||||
|
|
||||||
|
const themeStore = useTheming()
|
||||||
const settings = ref({})
|
const settings = ref({})
|
||||||
const accounts = ref([])
|
const accounts = ref([])
|
||||||
const loginUrl = ref('')
|
const loginUrl = ref('')
|
||||||
|
|||||||
@@ -2,11 +2,13 @@
|
|||||||
import { Button, LogInIcon, Modal, ClipboardCopyIcon, GlobeIcon, Card } from 'omorphia'
|
import { Button, LogInIcon, Modal, ClipboardCopyIcon, GlobeIcon, Card } from 'omorphia'
|
||||||
import { authenticate_await_completion, authenticate_begin_flow } from '@/helpers/auth.js'
|
import { authenticate_await_completion, authenticate_begin_flow } from '@/helpers/auth.js'
|
||||||
import { handleError } from '@/store/notifications.js'
|
import { handleError } from '@/store/notifications.js'
|
||||||
|
import { useTheming } from '@/store/theme.js'
|
||||||
import mixpanel from 'mixpanel-browser'
|
import mixpanel from 'mixpanel-browser'
|
||||||
import { get, set } from '@/helpers/settings.js'
|
import { get, set } from '@/helpers/settings.js'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import QrcodeVue from 'qrcode.vue'
|
import QrcodeVue from 'qrcode.vue'
|
||||||
|
|
||||||
|
const themeStore = useTheming()
|
||||||
const loginUrl = ref(null)
|
const loginUrl = ref(null)
|
||||||
const loginModal = ref()
|
const loginModal = ref()
|
||||||
const loginCode = ref(null)
|
const loginCode = ref(null)
|
||||||
@@ -94,7 +96,7 @@ const clipboardWrite = async (a) => {
|
|||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
</div>
|
</div>
|
||||||
<Modal ref="loginModal" header="Signing in">
|
<Modal ref="loginModal" header="Signing in" :noblur="!themeStore.advancedRendering">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
|
<QrcodeVue :value="loginUrl" class="qr-code" margin="3" size="160" />
|
||||||
<div class="modal-text">
|
<div class="modal-text">
|
||||||
|
|||||||
Reference in New Issue
Block a user