ok, considering this it most probably comes form javascript, so looking into tpl / twig files is less probable as a cause, and php would be only if the verification is done with ajax
the issue still stands though - we tested in 8.1.7 as your version and it does not reproduce.