Skip to content

Commit

Permalink
security.txt: do not use the admin email address (#3460)
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Jun 28, 2023
1 parent 09f7aea commit 08ec295
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/models/m_site.erl
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,7 @@ security_expires(Context) ->
security_contact_email(Context) ->
case m_config:get_value(site, security_email, Context) of
None when None =:= undefined; None =:= <<>> ->
case z_config:get(security_email) of
undefined -> m_rsc:p(1, email_raw, Context);
E -> E
end;
z_config:get(security_email);
E ->
E
end.
Expand Down

0 comments on commit 08ec295

Please sign in to comment.