Skip to content

Commit

Permalink
quick fix ... again
Browse files Browse the repository at this point in the history
  • Loading branch information
clj13001 committed Apr 22, 2017
1 parent c3a9998 commit 1621de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utilities/Mail.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ protected PasswordAuthentication getPasswordAuthentication(){
}
}

public void sendTemporaryPassword(String password) {
public void sendTemporaryPassword(String newpassword) {
String subject = "Your temporary {Application name} password";
String messege = "<!DOCTYPE html>"
+ "<html>"
+ "<body>"
+ "<p>Your pasword has been reset. To login in, please use the password <b>"+password+"</b></p><br>"
+ "<p>Your pasword has been reset. To login in, please use the password <b>"+newpassword+"</b></p><br>"
+ "<p>You will be prompted to set a new password. If you didn't initiate this, sorry. Someone's probably messing with you.</p>"
+ "</body>"
+ "<footer style='text-align: center;'><font size='1'>To change notification settings, please visit your <a href='"+profileLink+"'>profile settings page</a></font></footer>"
Expand Down

0 comments on commit 1621de4

Please sign in to comment.