portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morci...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions UpdateAccount.java
Date Wed, 20 Nov 2002 16:20:48 GMT
morciuch    2002/11/20 08:20:48

  Modified:    src/java/org/apache/jetspeed/modules/actions
                        UpdateAccount.java
  Log:
  Minor fix to prevent exception in WebSphere environment. An exception would occur when the
user checked "remember me" box and selected update.
  
  Revision  Changes    Path
  1.18      +1 -1      jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/UpdateAccount.java
  
  Index: UpdateAccount.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/modules/actions/UpdateAccount.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- UpdateAccount.java	28 Jun 2002 05:37:28 -0000	1.17
  +++ UpdateAccount.java	20 Nov 2002 16:20:47 -0000	1.18
  @@ -211,7 +211,7 @@
             {
               if ( data.getRequest().getCookies() == null ||
                    !data.getCookies().getString("username","").equals(data.getUser().getUserName())
||
  -                 !data.getCookies().getString("logincookie").equals(data.getUser().getPerm("logincookie"))
)
  +                 !data.getCookies().getString("logincookie","").equals(data.getUser().getPerm("logincookie"))
)
               {
                 String loginCookieValue = (String)data.getUser().getPerm("logincookie");
                 if (loginCookieValue == null || loginCookieValue.length() == 0)
  
  
  

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


Mime
View raw message