portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions CreateNewUserAndConfirm.java SendConfirmationEmail.java
Date Fri, 22 Jun 2001 06:35:55 GMT
taylor      01/06/21 23:35:55

  Modified:    src/java/org/apache/jetspeed/modules/actions
                        CreateNewUserAndConfirm.java
                        SendConfirmationEmail.java
  Log:
  - fix bug with confirmation value not getting set for new user email
  
  Revision  Changes    Path
  1.17      +3 -0      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/CreateNewUserAndConfirm.java
  
  Index: CreateNewUserAndConfirm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/CreateNewUserAndConfirm.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- CreateNewUserAndConfirm.java	2001/06/19 16:34:38	1.16
  +++ CreateNewUserAndConfirm.java	2001/06/22 06:35:52	1.17
  @@ -175,6 +175,9 @@
   
                   JetspeedSecurity.addUser(user, pass1);
   
  +                // Store the user object.
  +                data.setUser(user);
  +
                   data.setMessage(Localization.getString("CREATENEWUSERANDCONFIRM_CREATE"));
                   if (enableMail)
                   {
  
  
  
  1.10      +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/SendConfirmationEmail.java
  
  Index: SendConfirmationEmail.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/SendConfirmationEmail.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SendConfirmationEmail.java	2001/03/07 06:43:40	1.9
  +++ SendConfirmationEmail.java	2001/06/22 06:35:53	1.10
  @@ -96,7 +96,8 @@
           String firstname = data.getParameters().getString("firstname", "");
           String lastname = data.getParameters().getString("lastname", "");
           String nextscreen = data.getParameters().getString("nextscreen", "");
  -        String secretkey = (String)user.getPerm(User.CONFIRM_VALUE);
  +//        String secretkey = (String)user.getPerm(User.CONFIRM_VALUE);
  +        String secretkey = user.getConfirmed();
           
           DynamicURI url = new DynamicURI(data, "ConfirmRegistration")
               .addPathInfo("username", username )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message