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/portlets/security UserUpdateAction.java
Date Sun, 08 Jul 2001 03:41:35 GMT
taylor      01/07/07 20:41:35

  Modified:    src/java/org/apache/jetspeed/modules/actions JLoginUser.java
               src/java/org/apache/jetspeed/modules/actions/portlets/security
                        UserUpdateAction.java
  Log:
  - bug fix for users created by security portlet, missed setting confirm value
  
  Revision  Changes    Path
  1.16      +2 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java
  
  Index: JLoginUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/JLoginUser.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- JLoginUser.java	2001/07/03 17:17:17	1.15
  +++ JLoginUser.java	2001/07/08 03:41:35	1.16
  @@ -146,7 +146,8 @@
   
           if ( data.getUser().hasLoggedIn())
           {
  -            if (!data.getUser().getConfirmed().equals(JetspeedResources.CONFIRM_VALUE ))
  +            String confirmed = data.getUser().getConfirmed();
  +            if (confirmed == null || !confirmed.equals(JetspeedResources.CONFIRM_VALUE
))
               {
                   data.setMessage(Localization.getString("JLOGINUSER_CONFIRMFIRST"));
                   data.setScreenTemplate("ConfirmRegistration");
  
  
  
  1.3       +1 -0      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/security/UserUpdateAction.java
  
  Index: UserUpdateAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/portlets/security/UserUpdateAction.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UserUpdateAction.java	2001/07/02 07:33:46	1.2
  +++ UserUpdateAction.java	2001/07/08 03:41:35	1.3
  @@ -219,6 +219,7 @@
               Date now = new Date();            
               user.setCreateDate(now);
               user.setLastLogin(now);
  +            user.setConfirmed(JetspeedResources.CONFIRM_VALUE);
               
               //
               // add the user
  
  
  

---------------------------------------------------------------------
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