Skip to content
Snippets Groups Projects
Commit 9e980f20 authored by Mike McKay's avatar Mike McKay
Browse files

Fixed spelling mistake in Start TLS. Removed duplicate require login setting.

parent d03a6e18
No related branches found
No related tags found
No related merge requests found
...@@ -39,11 +39,11 @@ public class SmtpHandlerMethod extends AbstractNotificationsPreferenceHandlerMet ...@@ -39,11 +39,11 @@ public class SmtpHandlerMethod extends AbstractNotificationsPreferenceHandlerMet
private void updateSmtp(){ private void updateSmtp(){
try { try {
_mailSender.setHost(XDAT.getNotificationsPreferences().getHostname()); mailSender.setHost(XDAT.getNotificationsPreferences().getHostname());
_mailSender.setPort(XDAT.getNotificationsPreferences().getPort()); mailSender.setPort(XDAT.getNotificationsPreferences().getPort());
_mailSender.setUsername(XDAT.getNotificationsPreferences().getUsername()); mailSender.setUsername(XDAT.getNotificationsPreferences().getUsername());
_mailSender.setPassword(XDAT.getNotificationsPreferences().getPassword()); mailSender.setPassword(XDAT.getNotificationsPreferences().getPassword());
_mailSender.setProtocol(XDAT.getNotificationsPreferences().getProtocol()); mailSender.setProtocol(XDAT.getNotificationsPreferences().getProtocol());
} catch (Exception e1) { } catch (Exception e1) {
_log.error("", e1); _log.error("", e1);
...@@ -58,6 +58,6 @@ public class SmtpHandlerMethod extends AbstractNotificationsPreferenceHandlerMet ...@@ -58,6 +58,6 @@ public class SmtpHandlerMethod extends AbstractNotificationsPreferenceHandlerMet
private JdbcTemplate _template; private JdbcTemplate _template;
@Inject @Inject
private JavaMailSenderImpl _mailSender; private JavaMailSenderImpl mailSender;
} }
...@@ -257,9 +257,9 @@ generalSecuritySettings: ...@@ -257,9 +257,9 @@ generalSecuritySettings:
element: element:
id: security-channel id: security-channel
title: Security Channel title: Security Channel
requireUserLogin: requireLogin:
kind: panel.input.checkbox kind: panel.input.checkbox
id: requireUserLogin id: requireLogin
name: requireLogin name: requireLogin
label: Require User Login label: Require User Login
description: "If checked, then only registered users will be able to access your site. If false, anyone visiting your site will automatically be logged in as 'guest' with access to public data." description: "If checked, then only registered users will be able to access your site. If false, anyone visiting your site will automatically be logged in as 'guest' with access to public data."
...@@ -537,7 +537,7 @@ emailServerSettings: ...@@ -537,7 +537,7 @@ emailServerSettings:
smtpStartTls: smtpStartTls:
kind: panel.input.checkbox kind: panel.input.checkbox
name: mail.smtp.starttls.enable name: mail.smtp.starttls.enable
label: Smart TLS? label: Start TLS?
smtpSSLTrust: smtpSSLTrust:
kind: panel.input.text kind: panel.input.text
name: mail.smtp.ssl.trust name: mail.smtp.ssl.trust
...@@ -838,12 +838,6 @@ registrationOptions: ...@@ -838,12 +838,6 @@ registrationOptions:
load: ?? XNAT.data.siteConfig load: ?? XNAT.data.siteConfig
contentType: json contentType: json
contents: contents:
requireLogin:
kind: panel.input.checkbox
id: requireLogin
name: requireLogin
label: "Require User Login?"
disabled: true
requireEmailVerificationToRegister: requireEmailVerificationToRegister:
kind: panel.input.checkbox kind: panel.input.checkbox
id: requireEmailVerificationToRegister id: requireEmailVerificationToRegister
......
...@@ -179,7 +179,7 @@ smtpServer: ...@@ -179,7 +179,7 @@ smtpServer:
smtpStartTls: smtpStartTls:
kind: panel.input.checkbox kind: panel.input.checkbox
name: mail.smtp.starttls.enable name: mail.smtp.starttls.enable
label: Smart TLS? label: Start TLS?
#value: "?? XNAT:data:siteConfig:smtpServer:mail.smtp.starttls.enable" #value: "?? XNAT:data:siteConfig:smtpServer:mail.smtp.starttls.enable"
smtpSSLTrust: smtpSSLTrust:
......
...@@ -199,7 +199,7 @@ siteSetup: ...@@ -199,7 +199,7 @@ siteSetup:
smtpStartTls: smtpStartTls:
kind: panel.input.checkbox kind: panel.input.checkbox
name: mail.smtp.starttls.enable name: mail.smtp.starttls.enable
label: Smart TLS? label: Start TLS?
value: ?? XNAT:data:notifications:mail.smtp.starttls.enable value: ?? XNAT:data:notifications:mail.smtp.starttls.enable
# value: "" # value: ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment