Skip to content

Commit

Permalink
fix: ask for guest username
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Sep 16, 2023
1 parent 25276a6 commit 203f188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ if (hasMapUrl()) {
const version = qs.get('peerVersion')
if (peerId) {
let username = options.guestUsername
if (!options.askGuestName) username = prompt('Enter your username', username)
if (options.askGuestName) username = prompt('Enter your username', username)
options.guestUsername = username
connect({
server: '', port: '', proxy: '', password: '',
Expand Down

0 comments on commit 203f188

Please sign in to comment.