Skip to content

Commit

Permalink
Merge pull request #1711 from threefoldtech/development_fix_mnemonic
Browse files Browse the repository at this point in the history
Replace mnemonic hash w mnemonic while setting profile
  • Loading branch information
zaelgohary authored Dec 18, 2023
2 parents 6f514d7 + cdd8b56 commit 1ff0341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/playground/src/weblets/profile_manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
<v-col cols="7" sm="12" md="12" lg="7">
<PasswordInputWrapper #="{ props }">
<VTextField
label="Your Hex Seed"
label="Your Mnemonic"
readonly
v-model="profileManager.profile.mnemonic"
v-bind="props"
Expand Down Expand Up @@ -602,7 +602,7 @@ async function activate(mnemonic: string) {
const grid = await getGrid({ mnemonic });
const profile = await loadProfile(grid!);
ssh.value = profile.ssh;
profileManager.set(profile);
profileManager.set({ ...profile, mnemonic });
} catch (e) {
loginError.value = normalizeError(e, "Something went wrong while login.");
} finally {
Expand Down

0 comments on commit 1ff0341

Please sign in to comment.