User Login Form documentation for the dotCMS Content Management System

The macro creates a form that allows the user to login, retrieve their password, and also allows the creation of a new user account

Macro Overview:




(See optional parameters below)

Optional Parameters:

  • loginFormShowRegistrationLink
    If the variable is set to true, the login form will display the "Create new account" link
  • loginFormRegistrationLinkText
    This is the text that will display as the link text for creating a new account.
  • $loginFormSourceCode
    Use this variable to override the login form using a .vtl file you can provide, e.g. 
    #set($loginFormSourceCode = "/vtls/my-login-form.vtl")



Example 1: A simple example using the required fields