Skip to content

Commit b0a22d7

Browse files
fix build issue in newuser servlet
1 parent 815c6fb commit b0a22d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/main/java/password/pwm/http/servlet/newuser/NewUserServlet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,11 +717,11 @@ private ProcessStatus handleComplete(
717717
return ProcessStatus.Halt;
718718
}
719719

720-
// log the user out if the current profiles states so
721-
final boolean forceLogoutOnChange = newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_LOGOUT_AFTER_CREATION );
722-
if ( forceLogoutOnChange )
720+
// log the user out if the current profiles states so
721+
final boolean forceLogoutOnChange = newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_LOGOUT_AFTER_CREATION );
722+
if ( forceLogoutOnChange )
723723
{
724-
LOGGER.trace( pwmSession, "logging out user; account created" );
724+
LOGGER.trace( pwmSession, () -> "logging out user; account created" );
725725
pwmRequest.sendRedirect( PwmServletDefinition.Logout );
726726
return ProcessStatus.Halt;
727727
}

0 commit comments

Comments
 (0)