You've already forked AstralRinth
forked from didirus/AstralRinth
Fix some small things (#658)
This commit is contained in:
@@ -14,8 +14,6 @@ import {
|
||||
login_2fa,
|
||||
create_account,
|
||||
login_pass,
|
||||
get as getCreds,
|
||||
login_minecraft,
|
||||
} from '@/helpers/mr_auth.js'
|
||||
import { handleError, useNotifications } from '@/store/state.js'
|
||||
import { onMounted, ref } from 'vue'
|
||||
@@ -33,10 +31,6 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
required: true,
|
||||
},
|
||||
flow: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
})
|
||||
|
||||
const loggingIn = ref(true)
|
||||
@@ -118,15 +112,6 @@ async function createAccount() {
|
||||
}
|
||||
|
||||
async function goToNextPage() {
|
||||
const creds = await getCreds().catch(handleError)
|
||||
if (!creds) {
|
||||
try {
|
||||
await login_minecraft(props.flow)
|
||||
} catch {
|
||||
/* empty */
|
||||
}
|
||||
}
|
||||
|
||||
props.nextPage()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user