Customization of Confluence Login Screen

Mike
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2018

I am working to help end users better understand how to login to Confluence - some of my users come in from AD, others from Azure which requires a slightly different process.

From my understanding I can make modifications to the \confluence\login.vm file to achieve this, however when inspecting the file I am not finding anything with "Log in"

Below in the red or green is where Id like to modify or add text if possible. Would anyone be able to point me in the right direction? Thanks

Currently on 6.6 enterprise release

 

loginazure.PNG

1 answer

1 accepted

1 vote
Answer accepted
josh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2018

Look for this code block (from 6.6.1)

<div class="login-section #if($showSignup)unified#end">
#applyDecorator("form-aui")
#decoratorParam("formName" "loginform")
#decoratorParam("submitAction" "$req.contextPath/dologin.action")
#decoratorParam("editAction" "$req.contextPath/login.action")
#decoratorParam("editMode" "true")
#decoratorParam("formStyle" "login-form-container")

#if($mobileAppWebView)
<div class="mobile-app-webview-logo">
<img src="${req.contextPath}/images/logo/confluence-logo-adg3.svg" />
</div>
#else
<h2>$action.getText('login.name')</h2>
#end

Put your login screen html below that. 

 

Here's what mine looks like, slightly redacted:

<div align="center">
<img src="https://confluenceHostname.com/customconfluenceimages/Logo.png" width="100" height="100"><br />
Welcome to $action.globalSettings.siteTitle<br />
<br />
Please sign on using your ID (ab12345) and password.<br />
Email addresses will not work.
</div>
<div class="aui-message generic " style="margin-top:0px;padding-top:10px;padding-bottom:10px;">
<span class="aui-icon icon-generic"></span>
<strong>Important information for new Confluence users</strong><br />
<p>
New users are required to request access before using Confluence.<br />
To request access, please visit the <a href="https://jiraHostname/servicedesk/customer/portal/1/create/30" target="_blank">Engineering Support Center, powered by Jira Service Desk</a></p>
</div>
venkatesh vp September 12, 2023

Thank you!

Do we need place it below #end , any alignment needed?

 

<div class="login-section #if($showSignup)unified#end">
#applyDecorator("form-aui")
#decoratorParam("formName" "loginform")
#decoratorParam("submitAction" "$req.contextPath/dologin.action")
#decoratorParam("editAction" "$req.contextPath/login.action")
#decoratorParam("editMode" "true")
#decoratorParam("formStyle" "login-form-container")

#if($mobileAppWebView)
<div class="mobile-app-webview-logo">
<img src="${req.contextPath}/images/logo/confluence-logo-adg3.svg" />
</div>
#else
<h2>$action.getText('login.name')</h2>
#end

<div align="center">
<img src="https://confluenceHostname.com/customconfluenceimages/Logo.png" width="100" height="100"><br />
Welcome to $action.globalSettings.siteTitle<br />
<br />
Please sign on using your ID (ab12345) and password.<br />
Email addresses will not work.
</div>
<div class="aui-message generic " style="margin-top:0px;padding-top:10px;padding-bottom:10px;">
<span class="aui-icon icon-generic"></span>
<strong>Important information for new Confluence users</strong><br />
<p>
New users are required to request access before using Confluence.<br />
To request access, please visit the <a href="https://jiraHostname/servicedesk/customer/portal/1/create/30" target="_blank">Engineering Support Center, powered by Jira Service Desk</a></p>
</div>

 

 

Pls do confirm as I am working on a similar requirement.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events