Configuration

All configuration options are available in the FlexForm or TypoScript, with the FlexForm settings taking precedence.

TypoScript setup / FlexForm settings

Name Type Default
bool
bool
bool
string {$styles.content.loginform.pid}
int {$styles.content.loginform.recursive}
string {$styles.content.loginform.redirectMode}
bool {$styles.content.loginform.redirectFirstMethod}
integer {$styles.content.loginform.redirectPageLogin}
integer {$styles.content.loginform.redirectPageLoginError}
integer {$styles.content.loginform.redirectPageLogout}
bool {$styles.content.loginform.redirectDisable}
date-conf Y-m-d H:i
string
string
string {$styles.content.loginform.email.templateName}
array {$styles.content.loginform.email.layoutRootPath}
array {$styles.content.loginform.email.templateRootPaths}
array {$styles.content.loginform.email.partialRootPaths}
bool {$styles.content.loginform.exposeNonexistentUserInForgotPasswordDialog}
integer {$styles.content.loginform.forgotLinkHashValidTime}
string
array

showForgotPassword

showForgotPassword
Type
bool

If set, the section in the template to display the link to the forgot password dialogue is visible.

showPermaLogin

showPermaLogin
Type
bool

If set, the section in the template to display the option to remember the login (with a cookie) is visible.

showLogoutFormAfterLogin

showLogoutFormAfterLogin
Type
bool

If set, the logout form will be displayed immediately after successful login. .. note:: Setting this option will disable the redirect options! Instead of redirecting the plugin will show the logout form.

pages

pages
Type
string
Default
{$styles.content.loginform.pid}

Define the User Storage Page with the Website User Records, using a comma separated list or single value

recursive

recursive
Type
int
Default
{$styles.content.loginform.recursive}

If set, also any subfolders of the User Storage Page will be used at configured recursive levels

redirectMode

redirectMode
Type
string
Default
{$styles.content.loginform.redirectMode}

Comma separated list of redirect modes. Possible values: groupLogin, userLogin, login, getpost, referer, refererDomains, loginError, logout See section on redirect modes for details.

redirectFirstMethod

redirectFirstMethod
Type
bool
Default
{$styles.content.loginform.redirectFirstMethod}

If set the first method from redirectMode which is possible will be used

redirectPageLogin

redirectPageLogin
Type
integer
Default
{$styles.content.loginform.redirectPageLogin}

Page id to redirect to after Login

redirectPageLoginError

redirectPageLoginError
Type
integer
Default
{$styles.content.loginform.redirectPageLoginError}

Page id to redirect to after Login Error

redirectPageLogout

redirectPageLogout
Type
integer
Default
{$styles.content.loginform.redirectPageLogout}

Page id to redirect to after Logout

redirectDisable

redirectDisable
Type
bool
Default
{$styles.content.loginform.redirectDisable}

If set redirecting is disabled

dateFormat

dateFormat
Type
date-conf
Default
Y-m-d H:i

Format for the link is valid until message (forgot password email)

email_from

email_from
Type
string

Email address used as sender of the change password emails

email_fromName

email_fromName
Type
string

Name used as sender of the change password emails

email

email

email.templateName

email.templateName
Type
string
Default
{$styles.content.loginform.email.templateName}

Template name for emails. Plaintext emails get the .txt file extension.

email.layoutRootPaths

email.layoutRootPaths
Type
array
Default
{$styles.content.loginform.email.layoutRootPath}

Path to layout directory used for emails

email.templateRootPaths

email.templateRootPaths
Type
array
Default
{$styles.content.loginform.email.templateRootPaths}

Path to template directory used for emails

email.partialRootPaths

email.partialRootPaths
Type
array
Default
{$styles.content.loginform.email.partialRootPaths}

Path to partial directory used for emails

exposeNonexistentUserInForgotPasswordDialog

exposeNonexistentUserInForgotPasswordDialog
Type
bool
Default
{$styles.content.loginform.exposeNonexistentUserInForgotPasswordDialog}

If set and the user account cannot be found in the forgot password dialogue, an error message will be shown that the account could not be found. .. warning:: Enabling this will disclose information about whether an email address is actually used for a frontend user account! Visitors can find out if a user is known as frontend user.

forgotLinkHashValidTime

forgotLinkHashValidTime
Type
integer
Default
{$styles.content.loginform.forgotLinkHashValidTime}

Time in hours how long the link for forgot password is valid

domains

domains
Type
string

Comma separated list of domains which are allowed for the referrer redirect mode

passwordValidators

passwordValidators
Type
array

Deprecated since version 12.3

The TypoScript does not include validators any more by default. Instead, the extension uses global password policies to ensure password requirements are fulfilled.

Array of validators to use for the new user password.

Migration

Special password requirements configured using custom validators in TypoScript must be migrated to a custom password policy validator as described in password policies.

Before creating a custom password policy validator, it is recommended to evaluate, if the CorePasswordValidator used in the default password policy suits current password requirements.