forked from Katello/katello
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
password reset - add server to logins email, ignore errors on request…
…s for email This commit has 2 minor changes: 1. add the katello server root url to the email sent to the user containing logins. This will give user quick access to the server. 2. ignore db errors for the password and login unknown requests... this is being done on purpose to not give user hints as to possible valid email addresses...etc, if performing malicious attempts to gain access.
- Loading branch information
1 parent
d73f521
commit c7cc856
Showing
2 changed files
with
3 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
#{_("A request has been received to retrieve the Katello logins for email '%s'. The following is a list of those logins:") % @email} | ||
#{_("A request has been received by Katello server '%{s}' to retrieve the logins for email '%{e}'. The following is a list of those logins:" % {:s => root_url, :e => @email})} | ||
|
||
- @users.each do |user| | ||
= user.username | ||
|
||
|