From b05efccc4ed488a37539c3ea62754fd598c39f08 Mon Sep 17 00:00:00 2001 From: sdelamo Date: Tue, 5 Dec 2017 17:32:35 +0100 Subject: [PATCH] =?UTF-8?q?add=20default=20=E2=80=98New=20Account=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../grails/plugin/springsecurity/ui/RegisterController.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/grails-app/controllers/grails/plugin/springsecurity/ui/RegisterController.groovy b/plugin/grails-app/controllers/grails/plugin/springsecurity/ui/RegisterController.groovy index d7efd12d..0611eed2 100644 --- a/plugin/grails-app/controllers/grails/plugin/springsecurity/ui/RegisterController.groovy +++ b/plugin/grails-app/controllers/grails/plugin/springsecurity/ui/RegisterController.groovy @@ -273,7 +273,7 @@ class RegisterController extends AbstractS2UiController implements GrailsConfigu forgotPasswordEmailBody = conf.ui.forgotPassword.emailBody ?: '' registerEmailBody = conf.ui.register.emailBody ?: '' registerEmailFrom = conf.ui.register.emailFrom ?: '' - registerEmailSubject = conf.ui.register.emailSubject ?: messageSource ? messageSource.getMessage('spring.security.ui.register.email.subject', [].toArray(), LocaleContextHolder.locale) : '' ?: '' + registerEmailSubject = conf.ui.register.emailSubject ?: messageSource ? messageSource.getMessage('spring.security.ui.register.email.subject', [].toArray(), 'New Account', LocaleContextHolder.locale) : '' ?: '' registerPostRegisterUrl = conf.ui.register.postRegisterUrl ?: '' registerPostResetUrl = conf.ui.forgotPassword.postResetUrl ?: '' successHandlerDefaultTargetUrl = conf.successHandler.defaultTargetUrl ?: '/'