[[!members.login]]

Available Since: V1.0.0

Draws and provides the user login form.

Parameter Description
onLoggedIn The ID of the document to redirect the user to once they are logged in.
loginPage The ID of the document with the login form, defaults to the current page.
loginByUsername Allow user to login via username, default 1.
loginByEmail Allow user to login via email address, default 0.
pwdReset The ID of the page holding the password reset for, default 0.
prefix Optional prefix for the form name and form field names.
formOnly If given stops users being redirected to onLoggedIn unless they submit the login form.
with2FA If set to `1` offers entry of Google Authenticator code.



TOP