Don't choke if the specified password is null (because we're automatically

logging someone in).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1564 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2005-01-05 23:58:23 +00:00
parent 687afd6f59
commit a91f9d008c
@@ -245,7 +245,7 @@ public class UserManager
}
// potentially convert the user's legacy password
if (password.getCleartext() != null &&
if (password != null && password.getCleartext() != null &&
user.updateLegacyPassword(password.getCleartext())) {
Log.info("Updated legacy password " + user.username + ".");
_repository.updateUser(user);