From ac24134dbd50c596c6c3dec2ea5ccd89fa0f8178 Mon Sep 17 00:00:00 2001 From: Brian Cooper Date: Sat, 13 Dec 2025 13:22:22 -0800 Subject: [PATCH] docs(siwe): fix nonce generation example --- docs/content/docs/plugins/siwe.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/docs/plugins/siwe.mdx b/docs/content/docs/plugins/siwe.mdx index b5e49721b7..deb44cfd87 100644 --- a/docs/content/docs/plugins/siwe.mdx +++ b/docs/content/docs/plugins/siwe.mdx @@ -228,7 +228,7 @@ export const auth = betterAuth({ anonymous: false, getNonce: async () => { // Generate a cryptographically secure random nonce - return generateRandomString(32); + return generateRandomString(32, "a-z", "A-Z", "0-9"); }, verifyMessage: async ({ message, signature, address }) => { try {