File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/src/main/java/password/pwm/http/servlet/newuser Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -717,11 +717,11 @@ private ProcessStatus handleComplete(
717
717
return ProcessStatus .Halt ;
718
718
}
719
719
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 )
723
723
{
724
- LOGGER .trace ( pwmSession , "logging out user; account created" );
724
+ LOGGER .trace ( pwmSession , () -> "logging out user; account created" );
725
725
pwmRequest .sendRedirect ( PwmServletDefinition .Logout );
726
726
return ProcessStatus .Halt ;
727
727
}
You can’t perform that action at this time.
0 commit comments