Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74395

[miniorange-two-factor] Extract inline event handlers in io/jenkins/plugins/twofactor/jenkins/tfaMethodsAuth/MoOtpOverEmailAuth/index.jelly

XMLWordPrintable

      Problems

      == Inline Event Handler
      Line: 79
      ----
      <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();">
      ----
      
      == Inline Event Handler
      Line: 85
      ----
      <button class="resend-otp"  method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();">
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: