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 JLoginUser.java
Date Mon, 29 Jul 2002 18:51:18 GMT
taylor      2002/07/29 11:51:18

  Modified:    src/java/org/apache/jetspeed/modules/actions JLoginUser.java
  Log:
  - Patch to check for null pointed out by Werner Ramaekers [werner@shiftat.com]
  
  Revision  Changes    Path
  1.26      +1 -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.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- JLoginUser.java	28 Jun 2002 05:37:28 -0000	1.25
  +++ JLoginUser.java	29 Jul 2002 18:51:18 -0000	1.26
  @@ -302,7 +302,7 @@
               String confirmed = data.getUser().getConfirmed();
               if (confirmed == null || !confirmed.equals(JetspeedResources.CONFIRM_VALUE
))
               {
  -                if ( confirmed.equals(JetspeedResources.CONFIRM_VALUE_REJECTED))
  +                if (confirmed != null && confirmed.equals(JetspeedResources.CONFIRM_VALUE_REJECTED))
                   {
                     data.setMessage(Localization.getString("JLOGINUSER_KEYNOTVALID"));
                     data.setScreenTemplate("NewUserRejected");
  
  
  

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