|
76 | 76 | this.supportURL = options.support_link; |
77 | 77 | this.passwordResetSupportUrl = options.password_reset_support_link; |
78 | 78 | this.createAccountOption = options.account_creation_allowed && options.register_links_allowed; |
79 | | - this.showRegisterLinks = options.register_links_allowed |
| 79 | + this.showRegisterLinks = options.register_links_allowed; |
80 | 80 | this.hideAuthWarnings = options.hide_auth_warnings || false; |
81 | 81 | this.pipelineUserDetails = options.third_party_auth.pipeline_user_details; |
82 | 82 | this.enterpriseName = options.enterprise_name || ''; |
|
162 | 162 | supportURL: this.supportURL, |
163 | 163 | passwordResetSupportUrl: this.passwordResetSupportUrl, |
164 | 164 | createAccountOption: this.createAccountOption, |
165 | | - showRegisterLinks: this.showRegisterLinks,hideAuthWarnings: this.hideAuthWarnings, |
| 165 | + showRegisterLinks: this.showRegisterLinks, |
| 166 | + hideAuthWarnings: this.hideAuthWarnings, |
166 | 167 | pipelineUserDetails: this.pipelineUserDetails, |
167 | 168 | enterpriseName: this.enterpriseName, |
168 | 169 | enterpriseSlugLoginURL: this.enterpriseSlugLoginURL, |
|
188 | 189 | this.subview.passwordHelp = new PasswordResetView({ |
189 | 190 | fields: data.fields, |
190 | 191 | model: this.resetModel, |
191 | | - showRegisterLinks: this.showRegisterLinks |
192 | | - }); |
| 192 | + showRegisterLinks: this.showRegisterLinks |
| 193 | + }); |
193 | 194 |
|
194 | 195 | // Listen for 'password-email-sent' event to toggle sub-views |
195 | 196 | this.listenTo(this.subview.passwordHelp, 'password-email-sent', this.passwordEmailSent); |
|
213 | 214 | hideAuthWarnings: this.hideAuthWarnings, |
214 | 215 | is_require_third_party_auth_enabled: this.is_require_third_party_auth_enabled, |
215 | 216 | enableCoppaCompliance: this.enable_coppa_compliance, |
216 | | - showRegisterLinks: this.showRegisterLinks |
217 | | - }); |
| 217 | + showRegisterLinks: this.showRegisterLinks |
| 218 | + }); |
218 | 219 |
|
219 | 220 | // Listen for 'auth-complete' event so we can enroll/redirect the user appropriately. |
220 | 221 | this.listenTo(this.subview.register, 'auth-complete', this.authComplete); |
|
0 commit comments