``` Offenses: views/account/multifactor/webauthn_remove.erb:51:25: C: [Correctable] Style/RedundantParentheses: Don't use parentheses around an assignment. <% if (error = rodauth.field_error(rodauth.webauthn_remove_param)) %> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ views/components/form/cloudflare_turnstile.erb:1:7: C: [Correctable] Style/RedundantParentheses: Don't use parentheses around an assignment. <% if (@enable_cloudflare_turnstile = Config.cloudflare_turnstile_site_key) %> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ```
4 lines
173 B
Plaintext
4 lines
173 B
Plaintext
<% if @enable_cloudflare_turnstile = Config.cloudflare_turnstile_site_key %>
|
|
<div class="cf-turnstile" data-sitekey="<%= @enable_cloudflare_turnstile %>"></div>
|
|
<% end %>
|