diff --git a/client/routes/router.coffee b/client/routes/router.coffee index a0c46837f1e6..74873c70a05d 100644 --- a/client/routes/router.coffee +++ b/client/routes/router.coffee @@ -107,13 +107,15 @@ FlowRouter.route '/fxos', FlowRouter.route '/register/:hash', name: 'register-secret-url' action: (params) -> - if RocketChat.settings.get('Accounts_RegistrationForm') is 'Secret URL' - Meteor.call 'checkRegistrationSecretURL', params.hash, (err, success) -> - if success - Session.set 'loginDefaultState', 'register' - BlazeLayout.render 'main', {center: 'home'} - KonchatNotification.getDesktopPermission() - else - BlazeLayout.render 'blankLayout', { render: 'invalidSecretURL' } - else - BlazeLayout.render 'blankLayout', { render: 'invalidSecretURL' } + BlazeLayout.render 'secretURL' + + # if RocketChat.settings.get('Accounts_RegistrationForm') is 'Secret URL' + # Meteor.call 'checkRegistrationSecretURL', params.hash, (err, success) -> + # if success + # Session.set 'loginDefaultState', 'register' + # BlazeLayout.render 'main', {center: 'home'} + # KonchatNotification.getDesktopPermission() + # else + # BlazeLayout.render 'logoLayout', { render: 'invalidSecretURL' } + # else + # BlazeLayout.render 'logoLayout', { render: 'invalidSecretURL' } diff --git a/packages/rocketchat-ui-master/master/blankLayout.html b/packages/rocketchat-ui-master/master/logoLayout.html similarity index 88% rename from packages/rocketchat-ui-master/master/blankLayout.html rename to packages/rocketchat-ui-master/master/logoLayout.html index a75928f8866c..e1228b4a62f9 100644 --- a/packages/rocketchat-ui-master/master/blankLayout.html +++ b/packages/rocketchat-ui-master/master/logoLayout.html @@ -1,4 +1,4 @@ -