Changeset 1367 for trunk


Ignore:
Timestamp:
05/21/19 16:11:32 (5 years ago)
Author:
bln4
Message:

Feedback for various functions in the password recovery process.

Location:
trunk/src/org/expeditee/auth
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/auth/Actions.java

    r1365 r1367  
    234234                        Map<AuthenticationTag, String> userData = userdata.get();
    235235                        if (!userData.get(AuthenticationTag.NewPassword).equals(userData.get(AuthenticationTag.NewPasswordAgain))) {
     236                                MessageBay.errorMessage("The passwords you have provided do not match.");
    236237                                return;
    237238                        }
  • trunk/src/org/expeditee/auth/account/Password.java

    r1363 r1367  
    140140                        String colleagueTwoEmail = colleagues[3];
    141141                        sendEmail(colleagueTwoEmail, sb);
     142                       
     143                        MessageBay.displayMessage("Identity confirmed.  Your password colleagues have been contacted via one-off secure Expeditee message.  "
     144                                        + "You will recieve an email message with a password share from each once they have completed their part of the process.  Enter them below.");
    142145                } catch (MessagingException e) {
    143146                        e.printStackTrace();
     
    295298                Mail.sendMail(mail, colleagueTwo);
    296299               
    297                 MessageBay.displayMessage("PW Colleagues Set");
     300                MessageBay.displayMessage("You PW Colleagues have been set to " + colleagueOne + " and " + colleagueTwo + ".  "
     301                                + "They have been sent a Expeditee mail that they can use to store a share of your secret key.");
    298302        }
    299303
     
    324328                try {
    325329                        sendEmail(colleagueEmail, sb);
     330                        MessageBay.displayMessage("Your share of " + colleagueName + "'s password has been sent to their public email address.");
    326331                } catch (MessagingException e) {
    327332                        MessageBay.errorMessage("An error occured sending a email to your colleage " + colleagueName + " with the email " + colleagueEmail);
Note: See TracChangeset for help on using the changeset viewer.