feat: Update message to include session uuid
All checks were successful
Build Docker / Build Docker (push) Successful in 37s

This commit is contained in:
2024-06-21 11:27:07 +10:00
parent 1e09ca64e6
commit 9e1dfcf091
2 changed files with 10 additions and 1 deletions

View File

@@ -234,7 +234,7 @@
// Send the address to the server
console.log('Sending address to server', address);
// Sign a message
const message = 'I am signing my one-time nonce: ' + Math.floor(Math.random() * 1000000) + ' to log in to HNS Login as ' + address;
const message = 'I am signing this message to log in to HNS Login as ' + address + ': {{uuid}}';
const signature = await ethereum.request({
method: 'personal_sign',
params: [message, address],