NIHVIVO-1393 for the external login button, put the entire text in the deploy.properties value.
This commit is contained in:
parent
6e7afb976d
commit
1bad0658cb
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ public class LoginWidget extends Widget {
|
|||
values.put(TemplateVariable.FORM_ACTION.toString(), getAuthenticateUrl(request));
|
||||
values.put(TemplateVariable.LOGIN_NAME.toString(), bean.getUsername());
|
||||
|
||||
String externalAuthDisplayName = ConfigurationProperties.getProperty("externalAuth.displayName");
|
||||
String externalAuthDisplayName = ConfigurationProperties.getProperty("externalAuth.buttonText");
|
||||
if (externalAuthDisplayName != null) {
|
||||
values.put(TemplateVariable.EXTERNAL_AUTH_URL.toString(),
|
||||
UrlBuilder.getUrl(EXTERNAL_AUTH_SETUP_URL));
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
<#if externalAuthUrl??>
|
||||
<p class="external-auth">
|
||||
<a class="green button" href="${externalAuthUrl}">Log in using ${externalAuthName}</a>
|
||||
<a class="green button" href="${externalAuthUrl}">${externalAuthName}</a>
|
||||
</p>
|
||||
</#if>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue