Forum Academy Marketplace Showcase Pricing Features

Login validation and pass data based on data type

I’ve been trying to develop a user management system. To begin with, I used the login/signup component (reusable) in the index page and create one other page called “admin_dashboard” with the type of content “Admin” (created a data type of “Admin” in the data tab).

In the default User data type, I created a field of type user called “Admin” and “yes/no” for field type.

When the user initially signs up, a new data will be created under the Admin data type with the fields, email and password and marked as Admin under the user data type table. Is it possible to do that? How would I?

Also, how can I validate the login info and then pass the admin data to the admin_dashboard page?

Really appreciate the help. TIA!

This topic was automatically closed after 70 days. New replies are no longer allowed.