diff --git a/Gemfile.lock b/Gemfile.lock index eb316d54..9e8a35a5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -147,7 +147,7 @@ GEM block_cipher_kit (0.0.4) bootsnap (1.23.0) msgpack (~> 1.2) - brakeman (8.0.6) + brakeman (8.1.0) racc browser (6.2.0) builder (3.3.0) diff --git a/app/models/identity/backup_code.rb b/app/models/identity/backup_code.rb index d8c1b6ba..1d4e4fc3 100644 --- a/app/models/identity/backup_code.rb +++ b/app/models/identity/backup_code.rb @@ -27,7 +27,7 @@ class Identity::BackupCode < ApplicationRecord end end event :mark_discarded do - transitions from: [:active, :previewed], to: :discarded + transitions from: [ :active, :previewed ], to: :discarded end end diff --git a/app/views/identities/new.html.erb b/app/views/identities/new.html.erb index 34b18b28..14465ea9 100644 --- a/app/views/identities/new.html.erb +++ b/app/views/identities/new.html.erb @@ -34,7 +34,7 @@ - <%= t(".email_typo", suggested: ERB::Util.html_escape(@identity.suggested_email)).html_safe %> + <%= t(".email_typo_html", suggested: @identity.suggested_email) %>