Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/database UserManager.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/database UserManager.java

Author dlr
Full name Daniel Rall
Date 2000-11-10 15:30:42 PST
Message User: dlr
  Date: 00/11/10 15:30:42

  Modified: java/org/joist/database UserManager.java
  Log:
  Do not save an empty new password.
  
  Revision Changes Path
  1.46 +3 -3 joist/java/org/joist​/database/UserManage​r.java
  
  Index: UserManager.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/database/UserM​anager.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- UserManager.java 2000/10/31 23:19:33 1.45
  +++ UserManager.java 2000/11/10 23:30:42 1.46
  @@ -62,7 +62,7 @@
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
     * @author Leonard Richardson <A HREF="mailto:leonard​r@collab.net">leo​nardr at collab dot net<​/A>
     * @author <A HREF="mailto:dlr@col​lab.net">Daniel Rall</A>
  - * @version $Revision: 1.45 $
  + * @version $Revision: 1.46 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
     * Copyright (c) 1999, 2000 CollabNet, Inc.
  @@ -510,15 +510,15 @@
           // password in the template, and neither should other Joist
           // applications.
       if ((oldPassword != null && !newPassword.equals(​oldPassword)) ||
  - newPassword != null)
  + haveValue(newPassword))
       {
               encryptedPassword = encryptPassword(connection, newPassword);
       }
       else
       {
  + // The encrypted value is checked for null before saving.
           encryptedPassword = oldPassword;
       }
  -
   
       // Update the user registration
       String value;

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/database UserManager.java dlr Daniel Rall 2000-11-10 15:30:42 PST
Messages per page: