Return value of email confirmation 400, if a user clicks on the link a second time or more times

Hello guys,

I have a question about email confirmation: :thinking:
It often happens that a user clicks several times on the confirmation link in the e-mail, e.g. Example: double click.

The problem: If the user clicks on the link again (a second time) after successful confirmation (1st click), the user receives an error message in response, which the user could misunderstand.

My question: How do I get a return value that the account has already been successfully confirmed?

Thanks in advance!

By the way, here is the same question: