Customization of Confluence Login Screen
Asked by Mike:

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](/t5/image/serverpage/image-id/36606iCDBA34DCC8EC40CE/image-size/large?v=v2&px=999 "loginazure.PNG")


Answers:
author: josh
body: 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>
```

comments: author: venkatesh vp
body: 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.


Tags: confluence-server

server