Access Login Error

Guys, good afternoon.
I looked here in the forum and I didn’t find anything about checkbox how to write and read in the database. I want to put three access profiles in the same application: user, agent user and administrator. On the registration screen I have the fields: name, email, password, confirm password and two checkboxes: user and agent. On the access screen the same fields except email and confirm password. However, it is giving access error when I select a user or agent. I am attaching the project and the images so that they can check the error.

Firebase:

ClockTimer: displays error messages and calls up other screens

ProjetoVaccinum.aia (1.0 MB)

1 Like

If you use the switch to select the type of user visible, if the problem is in two types of users I think this option could solve the problem. I hope I contributed.