forked from External/greenlight
* fixes #2082 proper link in mail only send the promoted user a link to the admin page if their role allows them to. * addressed review Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com>
This commit is contained in:
@ -23,4 +23,4 @@
|
||||
|
||||
<%= t('mailer.user.promoted.more-info', url: @url) %>
|
||||
|
||||
<%= @admin_url %>
|
||||
<%= @admin_role ? @admin_url : @url %>
|
||||
|
Reference in New Issue
Block a user