What is a login component?

A Login component creates a form for users to enter their credentials to log in to a given app. There are a number of configurations that can be made on this component to allow the ease of creating a system to access secure apps as a seamless experience for users.

From the front end, the required credentials to log in are the user’s email and password. These values are stored in the Default User table in the Data Builder and can be set on the front-end through the Signup and Profile components.


Allowed Roles

Set whether all users or only specific user roles are able to log in through this component.


Allowed Status

Set whether all user statuses or only specific user status are able to log in through this component.

The values will be retrieved by looking at the status field of the users table: 


You can customize the message that will appear when a user tries to login with a status that is not defined as allowed. See further down for more details.


Password Resets

When enabled, this option created a link on the front end for a user to click if their password has been forgotten. Upon clicking the link, the user is prompted to submit their email address. After submission, the reset form will appear and a unique code is sent via email to the address provided for the user to confirm their identity when resetting their password. This process occurs on the same page that the Login component is on and the Login component can be returned to at any time during this process.



Customize the template as you wish.

Keep in mind:

{appName} = The name of your app

{name} = The name of the user requesting a new password

{code} = The code the user needs to enter to reset the password

Please note that emails sent for password resets will default to using the "From Name" and "From Email" of your email settings. If this setting is not defined, the email will appear from hello@tadabase.io.

You can make these changes by going to Settings > Email Settings > General tab

Redirect Rules

Redirect Rules Rules can be set to determine what page to direct a user to upon login. These rules are set based on the role of the user logging in.

You can create as many rules as you wish. 

Redirect rules will match the first rule and route the user to given page. If you user has more than one role, the first one will be used. 


Custom Error Messages

Custom Error Messages Messages appear if a user attempting to log in does not meet the requirements for logging in. Messages can be set based on the reason for the login or access failure.

There are 5 customized messages that can be set: 

  • Default Message
  • Already logged in
  • Incorrect email/password
  • Not Authorized
  • Status not allowed


Default Message

This is the message that appears when the login component loads, but the user is not logged in. You can remove it by clearing this field. 



Already logged in

This is the message that will appear when the user is seeing a login component but is already logged in. 

An alternative to this is setting a row permission on the login component to not show login component for logged in user. 


Incorrect email/password

This message will appear when a user enters the wrong credentials: 

Not Authorized

This message will appear when a user tries view a page that their role is not authorized from seeing: 

Status not allowed

When a login component is restricted to status (see here) this message will appear.