Eth_sign not showing the warning message

Hello,
I enabled eth_sign in MetaMask but the warning in Red (Signing this message can have dangerous side effects… ) does not show when I try to sign a message. MetaMask just gives me the signature after I hit the Sign button. Has this warning been removed now?

Chrome version: 102.0.5005.115
MetaMask version: 11.1.1

My code (run from localhost):

const provider = new ethers.providers.Web3Provider(window.ethereum);
let acct = await provider.send(“eth_requestAccounts”, );
const signedAcct = acct[0];
const message = “Our test message”;
const sig = await provider.send(“eth_sign”, [signedAcct, message]);

What I see:

What I expect to see:
image

Hey @Mr.A, welcome to the MetaMask community! :fox_face:

This is likely a bug, please reach out to MetaMask Support.

  • This will connect you to a bot at first, answer some questions and it will open a ticket for you with an agent.

Remember - NOBODY, including from support, will ask for your secret recovery phrase or for you to input it onto any website for confirmation.

Thanks. I will create a support ticket.

This topic was automatically closed after 30 days. New replies are no longer allowed.