mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-22 22:32:01 -05:00
docs(siwe): fix nonce generation example
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user