Site set configuration of the Frontend Login¶
New in version 13.1
Site sets were added.
The system extension typo3/cms-felogin provides the site set "Frontend Login".
The different methods of setting are taking precedence in the following order:
- The corresponding site set setting
- The corresponding TypoScript constant
- Value set in TypoScript setup in the scope plugin.tx_felogin_login.settings
- Setting from the FlexForm of the plugin
Content on this page
Include the site set¶
Include the site set "Frontend Login" via the site set in the site configuration or the custom site package's site set.
This will change your site configuration file as follows:
base: 'https://example.com/'
rootPageId: 1
dependencies:
+ - typo3/typo3/felogin
- typo3/fluid-styled-content-css
If your site has a custom site package, you can also add the "Frontend Login" set as dependency in your site set's configuration:
Settings for the "Frontend Login" site set¶
New in version 13.1
These settings were added with the site sets in TYPO3 v13.1.
See also: Example: Set the user storage page using the site set settings.
If you plan to migrate from TypoScript setup settings to site settings see Migration from TypoScript setup settings to site settings.
-
felogin.
¶pid -
- Type
string
- Default
"0"
- Label
- User Storage Page
Define the Storage Folder with the Website User Records, using a comma separated list or single value
-
felogin.
¶recursive -
- Type
string
- Default
"0"
- Label
- Recursive
- Enum
- { "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "255": "255" }
If set, also subfolder at configured recursive levels of the User Storage Page will be used
-
felogin.
¶show Forgot Password -
- Type
bool
- Default
false
- Label
- Display Password Recovery Link
If set, the section in the template to display the link to the forgot password dialogue is visible.
-
felogin.
¶show Perma Login -
- Type
bool
- Default
false
- Label
- Display Remember Login Option
If set, the section in the template to display the option to remember the login (with a cookie) is visible.
-
felogin.
¶show Logout Form After Login -
- Type
bool
- Default
false
- Label
- Disable redirect after successful login, but display logout-form
If set, the logout form will be displayed immediately after successful login.
-
felogin.
¶email From -
- Type
string
- Label
- Email Sender Address
email address used as sender of the change password emails
-
felogin.
¶email From Name -
- Type
string
- Label
- Email Sender Name
Name used as sender of the change password emails
-
felogin.
¶reply To Email -
- Type
string
- Label
- Reply-to email Address
Reply-to address used in the change password emails
-
felogin.
¶date Format -
- Type
string
- Default
"Y-
m- d H: i" - Label
- Date format
Format for the link is valid until message (forgot password email)
-
felogin.
¶email. layout Root Path -
- Type
string
- Label
- Layout root path
Path to layout directory used for emails
-
felogin.
¶email. template Root Path -
- Type
string
- Default
"EXT:
felogin/ Resources/ Private/ Email/ Templates/" - Label
- Template root path
Path to template directory used for emails
-
felogin.
¶email. partial Root Path -
- Type
string
- Label
- Partial root path
Path to partial directory used for emails
-
felogin.
¶email. template Name -
- Type
string
- Default
"Password
Recovery" - Label
- Template name for emails.
HTML emails get the .html file extension, plaintext emails get the .txt file extension.
-
felogin.
¶redirect Mode -
- Type
string
- Label
- Redirect Mode
Comma separated list of redirect modes. Possible values: groupLogin, userLogin, login, getpost, referer, refererDomains, loginError, logout. Warning: redirects only work if neither the plugin nor the page it is displayed on are set to `hide at login`.
-
felogin.
¶redirect First Method -
- Type
bool
- Default
false
- Label
- Use First Supported Mode from Selection
If set the first method from redirectMode which is possible will be used
-
felogin.
¶redirect Page Login -
- Type
int
- Default
0
- Label
- After Successful Login Redirect to Page
Page id to redirect to after Login
-
felogin.
¶redirect Page Login Error -
- Type
int
- Default
0
- Label
- After Failed Login Redirect to Page
Page id to redirect to after Login Error
-
felogin.
¶redirect Page Logout -
- Type
int
- Default
0
- Label
- After Logout Redirect to Page
Page id to redirect to after Logout
-
felogin.
¶redirect Disable -
- Type
bool
- Default
false
- Label
- Disable Redirect
If set redirecting is disabled
-
felogin.
¶forgot Link Hash Valid Time -
- Type
int
- Default
12
- Label
- Time in hours how long the link for forgot password is valid
How many hours the link for forgot password is valid
-
felogin.
¶domains -
- Type
string
- Label
- Allowed Referrer-Redirect-Domains
Comma separated list of domains which are allowed for the referrer redirect mode
-
felogin.
¶expose Nonexistent User In Forgot Password Dialog -
- Type
bool
- Default
false
- Label
- Expose existing users
Expose the information on whether or not the account for which a new password was requested exists. By default, that information is not disclosed for privacy reasons.
-
felogin.
¶view. template Root Path -
- Type
string
- Label
- Path to template root (frontend)
Path to template directory used for the plugin in the frontend. Extends the default template location.
-
felogin.
¶view. partial Root Path -
- Type
string
- Label
- Path to template partials (frontend)
Path to partial directory for the plugin in the frontend. Extends the default partial location.
-
felogin.
¶view. layout Root Path -
- Type
string
- Label
- Path to template layouts (frontend)
Path to layout directory used for the plugin in the frontend. Can be used to introduce a custom layout.
Migration from TypoScript setup settings to site settings¶
The site settings are named like the TypoScript constants used before site sets. However the TypoScript constants are not always named the same like the TypoScript setup settings.
For each TypoScript setup / FlexForm setting we list the corresponding site set setting in the overview table of the configuration values.
For example, the setting felogin.pid sets setting pages.
Bear that in mind when migrating from TypoScript setup to site set settings.
Example: Set the user storage page using the site set settings¶
After you included the site set you can use the site set settings to configure the frontend login plugin's behaviour and layout site-wide.
See also Adding site settings.
You can add the settings to your Site settings or to the settings of your custom site package extension.
To add the settings to your site settings, edit the file
config/
in Composer-based installations
or typo3conf/
in legacy installations. If
the file does not exist yet, create one. Use the setting
felogin.pid to set the storage folder. If
its subfolders should also be included, additionally use setting
felogin.recursive.