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:

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.

Add the site set "Frontend Login"

This will change your site configuration file as follows:

config/sites/my-site/config.yaml (diff)
  base: 'https://example.com/'
  rootPageId: 1
  dependencies:
+   - typo3/felogin
    - typo3/fluid-styled-content-css
Copied!

If your site has a custom site package, you can also add the "Frontend Login" set as dependency in your site set's configuration:

EXT:my_site_package/Configuration/Sets/MySite/config.yaml (diff)
 name: my-vendor/my-site-package
 label: My Site Package Set
 settings:
   website:
     background:
       color: '#386492'
 dependencies:
+  - typo3/typo3/felogin
   - typo3/fluid-styled-content-css
Copied!

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.

These settings can be adjusted in the Settings editor.

Settings of "Frontend Login"
Name Type Label
Frontend Login
string User Storage Page
string Recursive
bool Display Password Recovery Link
bool Display Remember Login Option
bool Disable redirect after successful lo...
string Email Sender Address
string Email Sender Name
string Reply-to email Address
string Date format
string Layout root path
string Template root path
string Partial root path
string Template name for emails.
string Redirect Mode
bool Use First Supported Mode from Select...
int After Successful Login Redirect to P...
int After Failed Login Redirect to Page
int After Logout Redirect to Page
bool Disable Redirect
int Time in hours how long the link for ...
string Allowed Referrer-Redirect-Domains
bool Expose existing users
string Path to template root (frontend)
string Path to template partials (frontend)
string Path to template layouts (frontend)

felogin

felogin
Label
Frontend Login

felogin.pid

felogin.pid
Type
string
Default
"0"
Label
User Storage Page
Category
Frontend Login

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

felogin.recursive

felogin.recursive
Type
string
Default
"0"
Label
Recursive
Enum
{ "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "255": "255" }
Category
Frontend Login

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

felogin.showForgotPassword

felogin.showForgotPassword
Type
bool
Default
false
Label
Display Password Recovery Link
Category
Frontend Login

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

felogin.showPermaLogin

felogin.showPermaLogin
Type
bool
Default
false
Label
Display Remember Login Option
Category
Frontend Login

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

felogin.showLogoutFormAfterLogin

felogin.showLogoutFormAfterLogin
Type
bool
Default
false
Label
Disable redirect after successful login, but display logout-form
Category
Frontend Login

If set, the logout form will be displayed immediately after successful login.

felogin.emailFrom

felogin.emailFrom
Type
string
Label
Email Sender Address
Category
Frontend Login

email address used as sender of the change password emails

felogin.emailFromName

felogin.emailFromName
Type
string
Label
Email Sender Name
Category
Frontend Login

Name used as sender of the change password emails

felogin.replyToEmail

felogin.replyToEmail
Type
string
Label
Reply-to email Address
Category
Frontend Login

Reply-to address used in the change password emails

felogin.dateFormat

felogin.dateFormat
Type
string
Default
"Y-m-d H:i"
Label
Date format
Category
Frontend Login

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

felogin.email.layoutRootPath

felogin.email.layoutRootPath
Type
string
Label
Layout root path
Category
Frontend Login

Path to layout directory used for emails

felogin.email.templateRootPath

felogin.email.templateRootPath
Type
string
Default
"EXT:felogin/Resources/Private/Email/Templates/"
Label
Template root path
Category
Frontend Login

Path to template directory used for emails

felogin.email.partialRootPath

felogin.email.partialRootPath
Type
string
Label
Partial root path
Category
Frontend Login

Path to partial directory used for emails

felogin.email.templateName

felogin.email.templateName
Type
string
Default
"PasswordRecovery"
Label
Template name for emails.
Category
Frontend Login

HTML emails get the .html file extension, plaintext emails get the .txt file extension.

felogin.redirectMode

felogin.redirectMode
Type
string
Label
Redirect Mode
Category
Frontend Login

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.redirectFirstMethod

felogin.redirectFirstMethod
Type
bool
Default
false
Label
Use First Supported Mode from Selection
Category
Frontend Login

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

felogin.redirectPageLogin

felogin.redirectPageLogin
Type
int
Default
0
Label
After Successful Login Redirect to Page
Category
Frontend Login

Page id to redirect to after Login

felogin.redirectPageLoginError

felogin.redirectPageLoginError
Type
int
Default
0
Label
After Failed Login Redirect to Page
Category
Frontend Login

Page id to redirect to after Login Error

felogin.redirectPageLogout

felogin.redirectPageLogout
Type
int
Default
0
Label
After Logout Redirect to Page
Category
Frontend Login

Page id to redirect to after Logout

felogin.redirectDisable

felogin.redirectDisable
Type
bool
Default
false
Label
Disable Redirect
Category
Frontend Login

If set redirecting is disabled

felogin.forgotLinkHashValidTime

felogin.forgotLinkHashValidTime
Type
int
Default
12
Label
Time in hours how long the link for forgot password is valid
Category
Frontend Login

How many hours the link for forgot password is valid

felogin.domains

felogin.domains
Type
string
Label
Allowed Referrer-Redirect-Domains
Category
Frontend Login

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

felogin.exposeNonexistentUserInForgotPasswordDialog

felogin.exposeNonexistentUserInForgotPasswordDialog
Type
bool
Default
false
Label
Expose existing users
Category
Frontend Login

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.templateRootPath

felogin.view.templateRootPath
Type
string
Label
Path to template root (frontend)
Category
Frontend Login

Path to template directory used for the plugin in the frontend. Extends the default template location.

felogin.view.partialRootPath

felogin.view.partialRootPath
Type
string
Label
Path to template partials (frontend)
Category
Frontend Login

Path to partial directory for the plugin in the frontend. Extends the default partial location.

felogin.view.layoutRootPath

felogin.view.layoutRootPath
Type
string
Label
Path to template layouts (frontend)
Category
Frontend Login

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/sites/<my_site>/settings.yaml in Composer-based installations or typo3conf/sites/<my_site>/settings.yaml 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.

config/sites/<my_site>/settings.yaml | typo3conf/sites/<my_site>/settings.yaml
felogin:
  pid: 42
  recursive: 255

Copied!