File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
client/src/com/mirth/connect/client/ui Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public class BrandingConstants {
4242 public static final ImageIcon LOGO_GRAY = new ImageIcon (com .mirth .connect .client .ui .Frame .class .getResource ("images/branding/oie_white_logo_banner_text_215x30.png" ));
4343
4444 public static final boolean CENTRAL_USER_REGISTRATION = true ;
45+ public static final boolean MANDATORY_USER_REGISTRATION = false ;
4546 public static final boolean CHECK_FOR_NOTIFICATIONS = true ;
4647 public static final boolean SEND_USAGE_STATISTICS = true ;
4748}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public FirstLoginDialog(User currentUser) {
4949 userEditPanel .setUser (this , currentUser );
5050 userEditPanel .setRequiredFields (false , true );
5151 if (BrandingConstants .CENTRAL_USER_REGISTRATION ) {
52- if (currentUser .getId () == 1 ) {
52+ if (currentUser .getId () == 1 && BrandingConstants . MANDATORY_USER_REGISTRATION ) {
5353 // When CENTRAL_USER_REGISTRATION is set, registration is compulsatory
5454 // for the first user of the system.
5555 registerCheckBox .setVisible (false );
You can’t perform that action at this time.
0 commit comments