Skip to content
Permalink
Browse files
FC-291 - don't need relax control when setting pwdReset flag
  • Loading branch information
shawnmckinney committed Apr 7, 2021
1 parent 5bfa1eb commit 506c92ebfdb0805a1ad53214100f9b3ef4cba03b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1759,7 +1759,7 @@ void resetUserPassword( User user ) throws UpdateException
mods.add( new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, OPENLDAP_PW_RESET, "TRUE" ) );

ld = getAdminConnection();
modify( ld, userDn, mods, user, true );
modify( ld, userDn, mods, user );
}
catch ( LdapException e )
{
@@ -1788,7 +1788,7 @@ private void deleteResetFlag( User user ) throws UpdateException
List<Modification> mods = new ArrayList<Modification>();
mods.add( new DefaultModification( ModificationOperation.REMOVE_ATTRIBUTE, OPENLDAP_PW_RESET ) );
ld = getAdminConnection();
modify( ld, userDn, mods, user, true );
modify( ld, userDn, mods, user );
}
catch ( LdapNoSuchAttributeException e )
{

0 comments on commit 506c92e

Please sign in to comment.