mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-02 21:59:39 +00:00
remove spaces inside {} of lib/redmine/twofa/base.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20476 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6ec4b42555
commit
5fbc65e20b
@ -61,7 +61,7 @@ module Redmine
|
||||
message: 'twofa_mail_body_security_notification_paired',
|
||||
# (mis-)use field here as value wouldn't get localized
|
||||
field: "twofa__#{scheme_name}__name",
|
||||
url: { controller: 'my', action: 'account' }
|
||||
url: {controller: 'my', action: 'account'}
|
||||
}
|
||||
).deliver
|
||||
end
|
||||
@ -88,7 +88,7 @@ module Redmine
|
||||
{
|
||||
title: :label_my_account,
|
||||
message: 'twofa_mail_body_security_notification_unpaired',
|
||||
url: { controller: 'my', action: 'account' }
|
||||
url: {controller: 'my', action: 'account'}
|
||||
}
|
||||
).deliver
|
||||
end
|
||||
@ -121,7 +121,7 @@ module Redmine
|
||||
originator: @user,
|
||||
title: :label_my_account,
|
||||
message: 'twofa_mail_body_backup_code_used',
|
||||
url: { controller: 'my', action: 'account' }
|
||||
url: {controller: 'my', action: 'account'}
|
||||
}
|
||||
).deliver
|
||||
return true
|
||||
@ -141,7 +141,7 @@ module Redmine
|
||||
{
|
||||
title: :label_my_account,
|
||||
message: 'twofa_mail_body_backup_codes_generated',
|
||||
url: { controller: 'my', action: 'account' }
|
||||
url: {controller: 'my', action: 'account'}
|
||||
}
|
||||
).deliver
|
||||
tokens
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user