Skip to content

Commit b1f2a12

Browse files
committed
fix(auth): hide emoji hash by default
1 parent bad3c5a commit b1f2a12

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sources/commands/auth/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,9 @@ function formatEmojiHash(publicKeyBytes: Uint8Array): string | null {
300300
function shouldShowEmojiHash(): boolean {
301301
const value = process.env["BEE_EMOJI_HASH"]?.trim().toLowerCase();
302302
if (!value) {
303-
return true;
303+
return false;
304304
}
305-
return !["0", "false", "off", "no"].includes(value);
305+
return ["1", "true", "on", "yes"].includes(value);
306306
}
307307

308308
async function pollForAppToken(opts: {

0 commit comments

Comments
 (0)