Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Aug 28, 2024
1 parent b820f36 commit 0b92423
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ you can now set `font_family` and `font_size`.

### Fixed

- CMD-[1-9] in the web now switches to the corresponding tab
- CMD-[1-9] on the web now switches to the corresponding tab
- Handling of unverified hosts
- Multi client layout sync
- Fixing the font used in rename and search
Expand Down
8 changes: 1 addition & 7 deletions src/peerbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ export class PeerbookConnection {
if (params)
np = {...params}
// remove the first message
// WIP: delete np.firstMsg
if (!np.count)
np.count = 1
else if (np?.count > terminal7.conf.net.retries) {
Expand Down Expand Up @@ -410,12 +409,7 @@ export class PeerbookConnection {
let validated = false
// TODO:gAdd biometrics verification
while (!validated) {
let otp: string
try {
otp = await this.shell.askValue(prompt || "Enter OTP to verify gate")
} catch(e) {
throw e
}
const otp = await this.shell.askValue(prompt || "Enter OTP to verify gate")
try {
await this.adminCommand(new ControlMessage("verify", { target: fp, otp: otp }))
validated = true
Expand Down

0 comments on commit 0b92423

Please sign in to comment.