Browse Source

remove lingering pieces of tests from /start

pull/116/head
Trent Larson 3 months ago
parent
commit
7aa37e7f68
  1. 13
      src/views/StartView.vue

13
src/views/StartView.vue

@ -35,7 +35,6 @@
Only click "No" if you have a seed of 12 or 24 words generated
elsewhere.
</p>
<input type="text" v-model="savedCredentialId" class="border" />
<a
@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"
@ -63,17 +62,9 @@
</template>
<script lang="ts">
import { Base64URLString } from "@simplewebauthn/types";
import { Component, Vue } from "vue-facing-decorator";
import { accountsDB } from "@/db/index";
import { generateRandomBytes } from "@/libs/crypto";
import {
createPeerDid,
PeerSetup,
registerCredential,
verifyJwt,
} from "@/libs/didPeer";
@Component({
components: {},
@ -86,11 +77,11 @@ export default class StartView extends Vue {
this.numAccounts = await accountsDB.accounts.count();
}
public async onClickYes() {
public onClickYes() {
this.$router.push({ name: "new-identifier" });
}
public async onClickNo() {
public onClickNo() {
this.$router.push({ name: "import-account" });
}

Loading…
Cancel
Save