remove lingering pieces of tests from /start
This commit is contained in:
@@ -35,7 +35,6 @@
|
|||||||
Only click "No" if you have a seed of 12 or 24 words generated
|
Only click "No" if you have a seed of 12 or 24 words generated
|
||||||
elsewhere.
|
elsewhere.
|
||||||
</p>
|
</p>
|
||||||
<input type="text" v-model="savedCredentialId" class="border" />
|
|
||||||
<a
|
<a
|
||||||
@click="onClickYes()"
|
@click="onClickYes()"
|
||||||
class="block w-full text-center text-lg uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2"
|
class="block w-full text-center text-lg uppercase bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md mb-2"
|
||||||
@@ -63,17 +62,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Base64URLString } from "@simplewebauthn/types";
|
|
||||||
import { Component, Vue } from "vue-facing-decorator";
|
import { Component, Vue } from "vue-facing-decorator";
|
||||||
|
|
||||||
import { accountsDB } from "@/db/index";
|
import { accountsDB } from "@/db/index";
|
||||||
import { generateRandomBytes } from "@/libs/crypto";
|
|
||||||
import {
|
|
||||||
createPeerDid,
|
|
||||||
PeerSetup,
|
|
||||||
registerCredential,
|
|
||||||
verifyJwt,
|
|
||||||
} from "@/libs/didPeer";
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
components: {},
|
components: {},
|
||||||
@@ -86,11 +77,11 @@ export default class StartView extends Vue {
|
|||||||
this.numAccounts = await accountsDB.accounts.count();
|
this.numAccounts = await accountsDB.accounts.count();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async onClickYes() {
|
public onClickYes() {
|
||||||
this.$router.push({ name: "new-identifier" });
|
this.$router.push({ name: "new-identifier" });
|
||||||
}
|
}
|
||||||
|
|
||||||
public async onClickNo() {
|
public onClickNo() {
|
||||||
this.$router.push({ name: "import-account" });
|
this.$router.push({ name: "import-account" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user